﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

:root {
    --primary: #0d9488;
    --secondary: #0f766e;
    --accent: #14b8a6;
    --light: #ffffff;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --error: #ef4444;
    --success: #10b981;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: var(--transition);
    }

        .nav-links a:hover {
            color: var(--primary);
        }

    .nav-links .active {
        color: var(--primary);
        font-weight: bold;
    }

/* REGISTRATION SECTION */
.registration-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.registration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.registration-info h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.registration-info p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    margin-top: 30px;
}

    .benefits-list li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .benefits-list i {
        color: var(--success);
        margin-top: 3px;
        font-size: 1.2rem;
    }

/* REGISTRATION FORM */
.registration-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h2 {
        font-size: 28px;
        color: var(--dark);
        margin-bottom: 10px;
    }

    .form-header p {
        color: var(--gray);
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--dark);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 14px 16px;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        font-size: 1rem;
        transition: var(--transition);
        background: #fcfdfd;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
        }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
}

.form-footer {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

    .btn:hover {
        background: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(13, 148, 136, 0.2);
    }

    .btn:active {
        transform: translateY(0);
    }

.login-link {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

    .login-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
    }

        .login-link a:hover {
            text-decoration: underline;
        }

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

    .terms-checkbox input {
        margin-top: 5px;
    }

    .terms-checkbox label {
        font-size: 0.9rem;
        color: var(--gray);
    }

    .terms-checkbox a {
        color: var(--primary);
        text-decoration: none;
    }

        .terms-checkbox a:hover {
            text-decoration: underline;
        }

/* FORM STEPS */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

    .form-steps::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--light-gray);
        z-index: 1;
    }

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

/* FORM PAGES */
.form-page {
    display: none;
}

    .form-page.active {
        display: block;
    }

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--light-gray);
}

    .btn-secondary:hover {
        background: #f8fafc;
        border-color: var(--primary);
    }

/* SUCCESS MESSAGE */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.success-message p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: var(--accent);
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: var(--accent);
            transform: translateX(5px);
        }

    .footer-links i {
        width: 20px;
    }

.contact-info {
    margin-top: 10px;
}

    .contact-info p {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border-radius: 50%;
        text-decoration: none;
        transition: var(--transition);
    }

        .social-icons a:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

    .footer-bottom a {
        color: var(--accent);
        text-decoration: none;
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

/* VALIDATION STYLES */
.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: var(--error);
}

.has-error .error-message {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .registration-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .registration-info {
        text-align: center;
    }

    .benefits-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .step {
        width: 45%;
    }

    .registration-form-container {
        padding: 30px 20px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .registration-info h1 {
        font-size: 28px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .step {
        width: 100%;
    }
}
