/* Styles for Special Gift Savings Planner Calculator */
.calcufacil-special_gift_savings_calculator {
    background-color: #fff5f5; /* Light pinkish background */
    border: 1px solid #ffcdd2; /* Light red border */
    border-left: 5px solid #e57373; /* Medium red */
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    font-family: 'Quicksand', sans-serif; /* Softer font */
    max-width: 700px;
    margin: 25px auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

.calcufacil-special_gift_savings_calculator > h3 { /* Default title */
    text-align: center;
    color: #c62828; /* Darker Red */
    margin-bottom: 15px;
    font-size: 1.3em;
}

.calcufacil-special_gift_savings_calculator .calculator-content h2 {
    text-align: center;
    color: #b71c1c; /* Stronger Red */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.7em;
    font-weight: 600;
}

.calcufacil-special_gift_savings_calculator .description {
    text-align: center;
    color: #555;
    font-size: 1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Styling */
.calcufacil-special_gift_savings_calculator form {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ef9a9a; /* Lighter red dashed */
}

.calcufacil-special_gift_savings_calculator form h3 {
 color: #e53935; /* Medium Red */
 margin-bottom: 20px;
 font-size: 1.25em;
 border-bottom: 1px solid #ffebee; /* Very light red */
 padding-bottom: 8px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.calcufacil-special_gift_savings_calculator form h3 i {
  color: #ef5350; /* Slightly lighter red */
}

.calcufacil-special_gift_savings_calculator .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px 22px;
    margin-bottom: 25px;
}

.calcufacil-special_gift_savings_calculator .input-group {
    display: flex;
    flex-direction: column;
    position: relative; /* For currency symbol */
}

.calcufacil-special_gift_savings_calculator .input-group label {
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
    font-size: 0.9em;
}

.calcufacil-special_gift_savings_calculator .input-group input[type="date"],
.calcufacil-special_gift_savings_calculator .input-group input[type="text"] {
    padding: 10px;
    border: 1px solid #ffcdd2; /* Light red border */
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Quicksand', sans-serif;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}
.calcufacil-special_gift_savings_calculator .input-group input[type="date"] {
  cursor: pointer;
}

/* Currency symbol position */
.calcufacil-special_gift_savings_calculator .input-group input[name="goal_amount"] {
 padding-left: 22px;
}
.calcufacil-special_gift_savings_calculator .input-group span.currency-symbol {
    position: absolute;
    left: 8px;
    top: 38px; /* Adjust as needed */
    color: #777;
    font-size: 1em;
    pointer-events: none;
}

.calcufacil-special_gift_savings_calculator .input-group small {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}


.calcufacil-special_gift_savings_calculator button[type="submit"] {
    background-color: #ef5350; /* Lighter Red */
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px; /* Rounded button */
    cursor: pointer;
    font-size: 1.1em;
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.calcufacil-special_gift_savings_calculator button[type="submit"]:hover {
    background-color: #e53935; /* Medium Red */
}

/* Results Area Styling */
.calcufacil-special_gift_savings_calculator .results-area {
    margin-top: 25px;
    padding: 20px;
    background-color: #ffebee; /* Very light red */
    border-radius: 6px;
    border: 1px solid #ffcdd2;
}
.calcufacil-special_gift_savings_calculator .results-area h3 {
    color: #c62828; /* Darker Red */
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.calcufacil-special_gift_savings_calculator .results-area h3 i {
    color: #ef5350; /* Lighter red */
}

.calcufacil-special_gift_savings_calculator .results-area .summary {
 text-align: center;
 font-size: 1em;
 color: #555;
 margin-bottom: 25px;
 padding-bottom: 15px;
 border-bottom: 1px dashed #ffcdd2;
 line-height: 1.6;
}
.calcufacil-special_gift_savings_calculator .results-area .summary strong {
 color: #c62828;
 font-weight: bold;
}

.calcufacil-special_gift_savings_calculator .results-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.calcufacil-special_gift_savings_calculator .result-box {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 5px;
    border: 1px solid #ffebee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}
.calcufacil-special_gift_savings_calculator .result-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #e53935;
    font-size: 1.1em;
    border-bottom: 1px solid #ffebee;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
}
.calcufacil-special_gift_savings_calculator .result-box h4 i {
    color: #ef9a9a;
    font-size: 1.2em;
}

.calcufacil-special_gift_savings_calculator .result-box .value {
    font-weight: 500;
    color: #333;
    display: block;
    font-size: 1.3em;
    line-height: 1.3;
    margin-bottom: 5px;
}
.calcufacil-special_gift_savings_calculator .result-box .value-alt {
    font-size: 1em;
    color: #666;
    display: block;
}

.calcufacil-special_gift_savings_calculator .result-box.highlight {
 background-color: #fff5f5;
 border-color: #ffcdd2;
}

.calcufacil-special_gift_savings_calculator .savings-box .main-result {
    font-size: 2.2em;
    font-weight: bold;
    color: #c62828; /* Darker Red */
    margin-bottom: 8px;
}
.calcufacil-special_gift_savings_calculator .savings-box small {
    font-size: 0.9em;
    color: #555;
}


.calcufacil-special_gift_savings_calculator .disclaimer {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.4;
}

.calcufacil-special_gift_savings_calculator .error-message {
    color: #b71c1c; /* Dark Red */
    background-color: #ffcdd2; /* Light Red */
    border: 1px solid #ef9a9a;
    padding: 12px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin: 15px 0;
}

.calcufacil-special_gift_savings_calculator .initial-message {
    color: #555;
    text-align: center;
    padding: 25px;
    background-color: #fff5f5;
    border: 1px dashed #ffcdd2;
    border-radius: 5px;
    margin-top: 20px;
}