/* ===========================================
Solstice & Equinox Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.sec-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Form and Input */
.sec-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.sec-input-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sec-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.sec-input {
 padding: 10px;
 border: 2px solid #6ee7b7;
 border-radius: 6px;
 font-size: 1.2rem;
 color: #1f2937;
 width: 100%;
 background-color: white;
    text-align: center;
}

.sec-btn-calc {
 padding: 10px 20px;
 font-size: 1.1rem;
 font-weight: 700;
 border: none;
 border-radius: 6px;
 cursor: pointer;
 background: #10b981; /* Primary Teal/Green Button */
 color: white;
 transition: background 0.2s;
    flex-shrink: 0;
}
.sec-btn-calc:hover {
 background: #059669;
}

/* --- Results Section --- */
.sec-results-section {
    margin-top: 20px;
}

.sec-results-title {
    text-align: center;
    color: #047857;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Grid of Events */
.sec-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sec-event-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid;
}

/* Color Coding */
.equinox {
    background-color: #fffbeb; /* Yellow/Gold for balance */
    border-color: #f59e0b;
}
.solstice {
    background-color: #eff6ff; /* Blue/Teal for extremes */
    border-color: #3b82f6;
}

.sec-event-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1;
}

.sec-event-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.sec-event-detail {
    margin-bottom: 10px;
    padding: 5px 0;
    border-top: 1px dotted #e5e7eb;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6b7280;
}

.detail-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-top: 3px;
}

.time-utc {
    font-family: monospace, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #dc2626; /* Highlight UTC time in red */
}

.sec-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #4b5563;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .sec-form {
        flex-direction: column;
        align-items: stretch;
    }
    .sec-btn-calc {
        width: 100%;
    }
    .sec-events-grid {
        grid-template-columns: 1fr;
    }
}