:root {
    /* Branding Colors */
    --primary: #203f77;
    --primary-light: #2b539c;
    --primary-dark: #112344;
    --white: #ffffff;
    
    /* UI Colors */
    --bg-light: #f4f7fb;
    --bg-card: #ffffff;
    --text-main: #1a2333;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --error: #ef4444;
    
    /* Visuals */
    --radius-sm: 8px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    height: 100vh;
    overflow: hidden;
}

/* Split Layout */
.split-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Panel (Branding) */
.left-panel {
    flex: 0 0 35%;
    max-width: 500px;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.left-panel::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at right top, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.brand-content {
    position: relative;
    z-index: 10;
    margin: auto 0;
}

.logo-wrapper {
    background: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

.big-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.brand-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.brand-content h1 span {
    font-weight: 300;
    opacity: 0.9;
}

.brand-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.decor-line {
    width: 50px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
    opacity: 0.3;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    opacity: 0.9;
}

.feature-list i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Right Panel (Form) */
.right-panel {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-light);
    padding: 4rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Form Sections */
.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-title i {
    color: var(--primary);
}

/* Grid System */
.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

/* Inputs */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.required {
    color: var(--error);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    background-color: #fafbfc;
    transition: var(--transition);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(32, 63, 119, 0.1);
}

.input-with-icon input:focus + i,
.input-with-icon input:focus ~ i {
    color: var(--primary);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #fafbfc;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background-color: rgba(32, 63, 119, 0.02);
}

.file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 10;
}

.file-upload-design {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; pointer-events: none;
}

.file-upload-design i {
    font-size: 1.8rem; color: var(--text-muted);
}

.file-upload-design p {
    font-weight: 500; color: var(--text-main); font-size: 0.95rem;
}

.file-name {
    font-size: 0.85rem; color: var(--text-muted);
}

/* Automation Notice */
.automation-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(32, 63, 119, 0.04);
    border: 1px solid rgba(32, 63, 119, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
}

.notice-icon {
    background: var(--primary); color: var(--white);
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}

.notice-text h3 {
    color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 4px;
}

.notice-text p {
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.5;
}

/* Submit Button */
.form-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    background: var(--primary); color: var(--white);
    border: none; padding: 14px 32px; border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; display: flex; align-items: center; gap: 12px;
    transition: var(--transition); box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 1; transition: opacity 0.4s ease;
}

.loading-overlay.hidden {
    opacity: 0; pointer-events: none;
}

.loader-content {
    text-align: center; color: var(--primary);
}

.spinner {
    width: 50px; height: 50px; border: 4px solid rgba(32, 63, 119, 0.1);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite; margin: 0 auto 1.5rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Animations */
.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* Responsive */
@media (max-width: 900px) {
    .split-layout { flex-direction: column; overflow: auto; }
    .left-panel { flex: none; width: 100%; max-width: none; padding: 2rem; }
    .right-panel { padding: 2rem; overflow: visible; }
    .input-grid { grid-template-columns: 1fr; }
}

/* Currency Input Styles */
.currency-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #fafbfc;
    overflow: hidden;
    transition: var(--transition);
}

.currency-input-wrapper:focus-within {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(32, 63, 119, 0.1);
}

.currency-dropdown {
    border: none;
    background: transparent;
    padding: 12px 10px 12px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    border-right: 1px solid var(--border-color);
}

.currency-dropdown:focus {
    outline: none;
}

.currency-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
}

.currency-input-wrapper input:focus {
    outline: none;
}
