/* Shelf Life Calculator Styles */
#calculator-shelf_life {
	--primary-color: #FF971D;
	--secondary-color: #666666;
	--white: #ffffff;
	--border-color: #BBBBBB;
	--text-color: #000000;
	--input-focus-shadow: rgba(255, 151, 29, 0.2);
	--result-bg: #f8f9fa;
	--notes-bg: #f2f2f2;
	--notes-text-color: #000000;
	--notes-border-color: #000000;
}

#calculator-shelf_life #shelfLifeCalculator {
	font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--text-color);
	width: 100%;
	max-width: 800px;
	margin: 15px auto;
	background-color: var(--white);
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

#calculator-shelf_life #shelfLifeCalculator .header {
	text-align: center;
}

#calculator-shelf_life #shelfLifeCalculator .header h2 {
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 2.8em;
	color: var(--primary-color);
}

#calculator-shelf_life #shelfLifeCalculator .form-group {
	margin-bottom: 20px;
}

#calculator-shelf_life #shelfLifeCalculator label {
	font-weight: bold;
	display: block;
	color: var(--text-color);
	margin-bottom: 15px;
	margin-top: 20px;
	font-size: 1.7em;
	line-height: 1;
}

#calculator-shelf_life .select-container {
	position: relative;
	display: flex;
	align-items: center;
}

#calculator-shelf_life #shelfLifeCalculator select {
	width: 100%;
	padding: 10px;
	font-size: 1.3em;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	box-sizing: border-box;
	transition: border-color 0.3s, box-shadow 0.3s;
	background-color: var(--result-bg);
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#calculator-shelf_life #shelfLifeCalculator select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px var(--input-focus-shadow);
}

#calculator-shelf_life .reset-icon {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: var(--secondary-color);
	font-size: 20px;
	z-index: 10;
	display: none;
}

#calculator-shelf_life .reset-icon:hover {
	color: var(--primary-color);
}

#calculator-shelf_life .select-container.has-value .reset-icon {
	display: block;
}

#calculator-shelf_life .hidden {
	display: none !important;
}

#calculator-shelf_life #shelfLifeCalculator .result {
	font-size: 1.8em;
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: 25px;
	color: var(--text-color);
	padding: 20px;
	background-color: var(--result-bg);
	border-radius: 5px;
	border-left: 4px solid var(--primary-color);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	word-wrap: break-word;
	line-height: 1.2;
	animation: fadeIn-shelf-life 0.5s;
}

@keyframes fadeIn-shelf-life {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#calculator-shelf_life #shelfLifeCalculator .notes-container {
	padding: 15px;
	background-color: var(--notes-bg);
	border: 1px solid var(--notes-border-color);
	border-radius: 5px;
}

#calculator-shelf_life #shelfLifeCalculator .notes-container h3 {
	margin-bottom: 10px;
	font-size: 18px;
	color: var(--notes-text-color);
	text-align: center;
}

#calculator-shelf_life #shelfLifeCalculator .notes-container p {
    color: #000000;
    line-height: 1.5;
    font-weight: 500;
    font-size: 14px;
}

#calculator-shelf_life #shelfLifeCalculator .notes-container ul {
    padding-left: 20px;
    list-style-type: disc;
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    font-weight: 500;
}

#calculator-shelf_life #shelfLifeCalculator .notes-container li {
    margin-bottom: 8px;
}

#calculator-shelf_life #shelfLifeCalculator .notes-container li strong {
	font-weight: bold;
}
@media (max-width: 768px) {
    #calculator-shelf_life #shelfLifeCalculator {
        width: 95%;
        padding: 20px;
    }

    #calculator-shelf_life #shelfLifeCalculator .header h2 {
        font-size: 2.2em;
    }

    #calculator-shelf_life #shelfLifeCalculator label {
        font-size: 1.4em;
    }

    #calculator-shelf_life #shelfLifeCalculator select {
        font-size: 1.1em;
    }

    #calculator-shelf_life #shelfLifeCalculator .result {
        font-size: 1.5em;
    }
}

/* For Mobile phones */
@media (max-width: 480px) {
    #calculator-shelf_life #shelfLifeCalculator {
        padding: 15px;
    }

    #calculator-shelf_life #shelfLifeCalculator .header h2 {
        font-size: 1.8em;
    }

    #calculator-shelf_life #shelfLifeCalculator label {
        font-size: 1.2em;
    }

    #calculator-shelf_life #shelfLifeCalculator select {
        font-size: 1em;
    }

    #calculator-shelf_life #shelfLifeCalculator .result {
        font-size: 1.2em;
        padding: 15px;
    }

    #calculator-shelf_life #shelfLifeCalculator .notes-container {
        padding: 10px;
    }

    #calculator-shelf_life #shelfLifeCalculator .notes-container h3 {
        font-size: 1.2em;
    }
    #calculator-shelf_life #shelfLifeCalculator .notes-container ul,
    #calculator-shelf_life #shelfLifeCalculator .notes-container p {
        font-size: 0.9em;
    }
}