html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    background: none;
}

.split-container {
    display: flex;
    min-height: 100vh;
    max-width: 100%;
}
.left-side {
    flex: 1.2;
    background: url('login.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.left-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,24,51,0.93);
    z-index: 1;
}
.left-side .logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    max-height: 350px;
}
.left-side img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.right-side {
    flex: 1.5;
    background: #0a1833;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 350px;
    -webkit-overflow-scrolling: touch;
}
.login-box {
    width: 100%;
    max-width: 420px;
    background: none;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-overflow-scrolling: touch;
}
.login-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.login-subtitle {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    align-items: center;
    text-align: center;
    width: 100%;
}
.input-row {
    position: relative;
    margin-bottom: 0;
    margin-top: 2.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.input-icon-img {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(62%) sepia(60%) saturate(355%) hue-rotate(7deg) brightness(97%) contrast(92%);
    pointer-events: none;
    z-index: 2;
}
.input-field {
    flex: 1;
    border: none;
    border-radius: 30px;
    outline: none;
    background: transparent;
    color: #000;
    font-size: 1.15rem;
    font-weight: bold;
    height: 100%;
    padding: 0 2.7rem 0 3.7rem;
}
.input-field::placeholder {
    color: #fff;
    font-weight: bold;
    opacity: 1;
    letter-spacing: 1px;
}
.toggle-password {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    height: 1.6rem;
    width: 1.6rem;
}
.toggle-password svg {
    color: #d1aa44;
    transition: color 0.2s;
}
.toggle-password img {
    width: 1.6rem;
    height: 1.6rem;
    display: block;
}
.login-btn {
    background: transparent;
    color: #fff;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-btn:hover {
    background: #e0b32a;
    color: #0a1833;
}
.signup-link {
    display: block;
    margin-top: 1.7rem;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
}
.signup-link:hover {
    text-decoration: underline;
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .split-container {
        flex-direction: column;
        min-height: 100vh;
        width: 100%;
        position: relative;
    }

    .left-side {
        flex: none;
        height: 35vh;
        padding: 1rem;
        background: linear-gradient(rgba(10,24,51,0.93), rgba(10,24,51,0.93)), url('login.jpg') no-repeat center center;
    }

    .left-side .logo {
        max-width: 150px;
        max-height: 150px;
    }

    .left-side img {
        width: 120px;
        height: 120px;
    }

    .right-side {
        flex: none;
        min-height: 65vh;
        background: #0a1833;
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .login-box {
        padding: 1rem;
        max-width: 100%;
    }

    .login-title {
        font-size: 2rem;
        margin-bottom: 0.2rem;
        text-align: center;
    }

    .login-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .login-form {
        gap: 1rem;
    }

    .input-row {
        margin-top: 1rem;
        position: relative;
        width: 100%;
    }

    .input-field {
        width: 100%;
        height: 3rem;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid #e0b32a;
        color: #fff;
        border-radius: 25px;
        padding: 0 2.5rem;
        font-size: 0.9rem;
    }

    .input-icon-img {
        left: 1rem;
        width: 1.2rem;
        height: 1.2rem;
        filter: brightness(0) invert(1);
    }

    .toggle-password {
        right: 1rem;
    }

    .login-btn {
        width: 100%;
        height: 3rem;
        background: transparent;
        border: 2px solid #e0b32a;
        color: #fff;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: bold;
        margin-top: 1.5rem;
    }

    .input-field::placeholder {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
  .split-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }
  .left-side, .right-side {
    width: 100%;
    min-width: unset;
    min-height: unset;
    justify-content: center;
    align-items: center;
    display: flex;
    box-sizing: border-box;
    padding: 0;
  }
  .login-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  .login-title, .login-subtitle {
    text-align: center;
    width: 100%;
  }
  .login-form {
    align-items: center;
    width: 100%;
  }
  .input-row {
    width: 100%;
    justify-content: center;
  }
  .login-btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
