/* Premium Forms Aesthetic CSS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(255, 255, 255, 0.4);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: #e2e8f0;
    --input-focus: #0ea5e9;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
}

body.aesthetic-form-page {
    font-family: 'Outfit', sans-serif;
    background: #f1f5f9;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Page Background Wrapper */
.aesthetic-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.aesthetic-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    left: -200px;
    z-index: 1;
    pointer-events: none;
}

.aesthetic-wrapper::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(255,255,255,0) 70%);
    bottom: -200px;
    right: -200px;
    z-index: 1;
    pointer-events: none;
}

/* Glassmorphic Card Container */
.aesthetic-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    width: 100%;
    max-width: 680px;
    padding: 50px 45px;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aesthetic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Header design */
.aesthetic-header {
    text-align: center;
    margin-bottom: 40px;
}

.aesthetic-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.aesthetic-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* Form Styling */
.aesthetic-form-group {
    position: relative;
    margin-bottom: 24px;
}

.aesthetic-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.aesthetic-input-wrapper {
    position: relative;
}

.aesthetic-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.aesthetic-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.01) inset;
}

.aesthetic-input:focus {
    border-color: var(--input-focus);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.aesthetic-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* For inputs without icons */
.aesthetic-input.no-icon {
    padding-left: 20px;
}

/* Select and custom styles */
select.aesthetic-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.aesthetic-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* Submit Button styling */
.aesthetic-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.aesthetic-btn-submit:hover {
    background: var(--accent-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.aesthetic-btn-submit:active {
    transform: translateY(1px);
}

/* Feedback messages */
.aesthetic-alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.aesthetic-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.aesthetic-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Layout helper */
.aesthetic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .aesthetic-card {
        padding: 35px 25px;
        border-radius: var(--radius-md);
    }
    
    .aesthetic-header h1 {
        font-size: 1.8rem;
    }
    
    .aesthetic-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
