/* Sunrise Sunset Calculator Styles */

/* Sun Result Cards */
.sun-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.sun-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sun-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.sun-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-body-color);
}

/* Specific result colors */
.sunrise-result {
    border-color: #fd7e14;
}

.sunrise-result:hover {
    border-color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
}

.sunset-result {
    border-color: #6f42c1;
}

.sunset-result:hover {
    border-color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

.noon-result {
    border-color: #ffc107;
}

.noon-result:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.daylength-result {
    border-color: #0d6efd;
}

.daylength-result:hover {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
}

/* Additional Info */
.additional-info {
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: var(--bs-body-color);
    font-size: 1rem;
}

/* Dark Mode */
[data-bs-theme="dark"] .sun-result {
    background: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .additional-info {
    background: #343a40;
    border-color: #495057;
}

[data-bs-theme="dark"] .info-row {
    border-bottom-color: #495057;
}

/* Responsive */
@media (max-width: 768px) {
    .sun-icon {
        font-size: 2rem;
    }

    .sun-time {
        font-size: 1.25rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .info-label,
    .info-value {
        font-size: 0.85rem;
    }
}
