/* Fashion Wizard UI Styles */

.fashion-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 600px;
}

/* Steps */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.subtitle {
    text-align: center;
    color: var(--footer-text-color);
    margin-bottom: 20px;
    margin-top: -20px;
    font-size: 0.95rem;
}

/* Step 1: Gender Selection */
.gender-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.selection-card {
    background: var(--card-bg-color);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.selection-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.selection-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--footer-text-color);
    transition: color 0.2s;
}

.selection-card.male:hover i { color: #007bff; }
.selection-card.female:hover i { color: #ff6b81; }

.selection-card h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Step 2: Weather Loader */
.weather-loader {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Step 3: Weather Widget */
.weather-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
    margin-bottom: 30px;
}

.weather-icon {
    font-size: 4rem;
}

.weather-info {
    text-align: right;
}

.weather-info h2 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
}

.weather-info p {
    margin: 5px 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.weather-desc {
    font-weight: 600;
    font-size: 1.2rem !important;
}

/* Recommendation List */
.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.recommendation-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rec-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.rec-media {
    flex: 0 0 96px;
}

.rec-media img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: block;
}

.rec-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--footer-text-color);
}

.rec-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.rec-link {
    color: inherit;
    text-decoration: none;
}

.rec-action i {
    font-size: 1.1rem;
}

@media (max-width: 520px) {
    .recommendation-card {
        flex-direction: column;
        align-items: stretch;
    }

    .rec-media {
        flex: none;
        width: 100%;
    }

    .rec-media img {
        width: 100%;
        height: 160px;
    }

    .rec-action {
        justify-content: flex-end;
    }
}

.btn-group {
    display: flex;
    justify-content: center;
}

.restart-btn {
    padding: 10px 20px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--footer-text-color);
    cursor: pointer;
    transition: all 0.2s;
}

.restart-btn:hover {
    background: var(--bg-color);
    color: var(--text-color);
    border-color: var(--text-color);
}
