/* SmartStyle Page Styles - Premium Glass Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(51, 65, 85, 0.8);
    --clr-primary: #ec4899;
    /* Pink for Style */
    --clr-primary-glow: rgba(236, 72, 153, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-effect: blur(12px);
    --gradient-primary: linear-gradient(135deg, #ec4899, #d946ef);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layout Grid */
.style-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 600px;
    max-width: 800px;
    margin: 0 auto;
}

/* Card Styles */
.style-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.style-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.style-card h2 i {
    color: var(--clr-primary);
}

/* Upload Area */
.upload-area {
    background: rgba(15, 23, 42, 0.6);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: var(--clr-primary);
    background: rgba(15, 23, 42, 0.8);
}

.upload-area i {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.upload-area h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
}

.upload-area p {
    font-size: 13px;
    color: var(--text-muted);
}

.upload-area img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    object-fit: contain;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}

/* Generate Button */
.btn-generate {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* Result Comparison */
.result-comparison {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.result-comparison.active {
    display: grid;
}

.result-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.result-box h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.result-box img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

/* Dev Warning */
.dev-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.dev-warning-icon {
    font-size: 24px;
    color: #fbbf24;
}

.dev-warning h3 {
    color: #fbbf24;
    font-size: 16px;
    font-weight: 600;
}

.dev-warning p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .result-comparison {
        grid-template-columns: 1fr;
    }
}