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

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: #f8faff;
}


.registration-page {
    display: flex;
    min-height: 100vh;
}


.sidebar {
    position: relative;
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    z-index: 2;
}


.sidebar-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 22, 60, 0.85) 0%, rgba(50, 40, 110, 0.7) 100%),
                url('img/background.png');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: -1;
}

.sidebar-text {
    z-index: 1;
    color: white;
}

.sidebar-text h1 {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}


.form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 1;
}

.form-box {
    width: 100%;
    max-width: 440px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.form-header a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: underline;
}


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

.input-group label {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #cbd5e0;
}

.password-wrapper {
    position: relative;
}

.pass-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    cursor: pointer;
    user-select: none;
}

.input-group small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #a0aec0;
    line-height: 1.4;
}


.policy-text {
    font-size: 13px;
    color: #718096;
    line-height: 1.6;
    margin: 25px 0;
}

.policy-text a {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 700;
}


.submit-btn {
    width: 100%;
    padding: 18px;
    background-color: #E0E0E0;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.submit-btn.active {
    background-color: #1A1C41;
    cursor: pointer;
}

.submit-btn.active:hover {
    background-color: #2a2d61;
}


@media (max-width: 1100px) {
    .sidebar-bg {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    }
}

@media (max-width: 850px) {
    .sidebar {
        display: none;
    }
    .form-container {
        width: 100%;
        padding: 20px;
    }
}