body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    min-height: 100vh;
}

.weather-icon {
    width: 100px;
    height: 100px;
}

.time-display {
    font-size: 3.5rem;
    font-weight: 600;
}

.date-display {
    font-size: 1.2rem;
    opacity: 0.8;
}

.card {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-button {
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-button:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

.weather-details {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Toggle switch styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: rgba(255, 255, 255, 0.5);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.unit-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.app-title {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
    font-weight: 600;
}

/* Ad container styles - invisible but maintaining space */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ad blocker modal */
.ad-blocker-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    color: #333;
    text-align: center;
}
