* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    background-color: #000;
}

.back {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 54px;
    font-weight: bold;
}
.back a {
     color: #fff;
     text-decoration: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background-color: #000000;
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    #padding-top: 70px;
}

.left-side {
    flex: 1;
    background-image: url('../img/top004.jpg');
    background-size: cover;
    background-position: top left;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.left-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    #background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.form-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-box.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.form-box h2 {
    margin-bottom: 20px;
    color: #222;
    font-size: 26px;
    text-align: center;
}

.input-group {
    margin-bottom: 16px;
    text-align: left;
    position: relative;
}

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

.input-group input {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

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

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    user-select: none;
    color: #777;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 13px;
    background-color: #ffcc00;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #eabb00;
}

.switch-form {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.switch-form a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.switch-form a:hover {
    text-decoration: underline;
}

.right-side {
    flex: 1;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
 }

.large-text {
    color: #ffffff;
    font-size: 46px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .container {
        flex-direction: column;
        height: auto;
        overflow-y: visible;
    }

    .left-side, .right-side {
        flex: none;
        width: 100%;
        height: calc(100vh - 70px);
    }

    .large-text {
        font-size: 44px;
    }
}
