
:root {
    --primary: #001f3f;
    --accent: #2ecc71;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --text-muted: #64748b;
    --shadow: 0 10px 40px rgba(0, 31, 63, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--primary);
    overflow-x: hidden;
}


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


.site-header {
    background: white;
    height: 80px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-wide {
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    width: 45px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: rotate(5deg) scale(1.1);
}

.nav-brand-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-text {
    color: var(--text-muted);
    font-size: 14px;
}

.login-link-btn {
    border: 1.5px solid var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.15);
}


.registration-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.form-card {
    background: white;
    max-width: 1000px;
    width: 100%;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease-out; 
}

.form-title {
    text-align: center;
    margin-bottom: 50px;
}

.form-title h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.form-title p {
    color: var(--text-muted);
}


.form-split {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.column {
    flex: 1;
}

.vertical-divider {
    width: 1px;
    background: var(--border);
}


.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    color: var(--text-muted);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}


.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fcfcfc;
}


.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 31, 63, 0.05);
}


input[type="file"] {
    padding: 8px;
    background: white;
    cursor: pointer;
}


.form-submit {
    margin-top: 50px;
    text-align: center;
}

.register-full-btn {
    background: var(--primary);
    color: white;
    padding: 18px 40px;
    width: 100%;
    max-width: 400px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.register-full-btn:hover {
    background: #003366;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.2);
}

.register-full-btn:active {
    transform: translateY(0);
}


.site-footer {
    padding: 60px 20px;
    background: white;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}


@media (max-width: 768px) {
    .form-split {
        flex-direction: column;
        gap: 40px;
    }
    .vertical-divider {
        display: none;
    }
    .form-card {
        padding: 30px;
    }
}


.section-label {
    display: flex;
    align-items: center;
    gap: 12px; 
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0; 
    margin-bottom: 25px;
    color: var(--text-muted); 
    
    
    border-left: none;
    padding-left: 0;
}

.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-weight: 700;
    font-size: 12px;
    color: var(--accent); 
    flex-shrink: 0; 
}

.label-icon.monogram svg {
    width: 20px; 
    height: 20px;
    color: #475569; 
}

#resume {
    display: none;
}

.upload-container {
    width: 100%;
}

.custom-file-upload {
    display: flex;
    flex-direction: row; 
    align-items: center;    
    justify-content: center; 
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px dashed var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}


.custom-file-upload span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;         
    transform: translateY(1px); 
    
    white-space: nowrap;
}

.upload-icon {
    display: inline-flex;   
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--primary);
    stroke-width: 2.5;      
}


.custom-file-upload:hover {
    background: #f1f5f9;
    border-color: var(--primary);
}

.custom-file-upload:hover .upload-icon,
.custom-file-upload:hover span {
    color: var(--primary);
}


.custom-file-upload.file-selected {
    border-color: var(--accent);
    background: #f0fdf4;
}

.section-label {
    display: flex;
    align-items: center; 
    gap: 10px;           
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.2px; 
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1;      
}

.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;      
}

.label-icon svg {
    width: 14px;
    height: 14px;
    display: block;      
    color: var(--primary);
}


.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px; 
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--primary);
}


#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-left: 6px solid #cbd5e1;
    animation: slideIn 0.3s ease forwards;
}

.toast.success { border-left-color: var(--accent); }
.toast.error { border-left-color: #ef4444; }
.toast.info { border-left-color: #3b82f6; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}


#preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.1);
}   


.gender-selection {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    padding: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb; 
    cursor: pointer;
}