* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(90deg, #e2e2e2, #c9deff);
}

.container {
    position: relative;
    width: 850px;
    height: 550px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.signup_link{
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
  }
  .signup_link a{
    color: #2691d9;
    text-decoration: none;
  }
  .signup_link a:hover{
    text-decoration: underline;
  }

  .dropdownContainer {
    font-size: 18px;
    margin: 9px 5;
}

/* Mobile adjustment for the container */
@media (max-width: 768px) {
    .container {
        width: 90%; /* Make the container fit smaller screens */
        height: auto; /* Adjust height for mobile */
        border-radius: 20px;
    }
}

.login-box {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 40px;
    z-index: 1;
}

/* Mobile adjustment for login box */
@media (max-width: 768px) {
    .login-box {
        position: relative;
        width: 100%;
        padding: 20px;
    }
}

form {
    width: 100%;
}

.container h1 {
    font-size: 36px;
    margin: -10px 0;
}

.dropdownContainer {
    font-size: 18px;
    margin: 9px 5;
}

/* Mobile adjustment for headings */
@media (max-width: 768px) {
    .container h1 {
        font-size: 24px;
    }
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #eee;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Mobile input box font-size adjustment */
@media (max-width: 768px) {
    .input-box input {
        font-size: 14px;
        padding: 10px 40px 10px 15px;
    }
}

.input-box input::placeholder {
    color: #888;
    font-weight: 400;
}

.input-box i, .input-box svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

/* Mobile adjustment for icons */
@media (max-width: 768px) {
    .input-box i, .input-box svg {
        right: 15px;
    }
}

.btn {
    width: 100%;
    height: 48px;
    background: #7494ec;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

/* Mobile adjustment for buttons */
@media (max-width: 768px) {
    .btn {
        font-size: 14px;
        height: 40px;
    }
}

.admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 80px;
    padding: 4px 8px;
    margin: 8px auto;
    font-size: 11px;
    font-weight: bold;
    color: black;
    background-color: transparent;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.toggle-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    background: #7494ec;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Mobile adjustment for toggle panel */
@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column; /* Stack children vertically */
        height: auto; /* Allow content to define height */
    }

    .toggle-box {
        order: -1; /* Move the toggle panel above */
        width: 100%;
    }

    .toggle-panel {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
        border-radius: 20px 20px 0 0; /* Rounded top corners */
    }

    .login-box {
        position: relative;
        width: 100%;
        padding: 20px;
        border-radius: 0 0 20px 20px; /* Rounded bottom corners */
    }
}




.toggle-panel h1 {
    height: 55px;
    width: 230px;
}

.toggle-panel p {
    height: 30px;
}

/* Additional styles for very small screens */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    .btn {
        font-size: 12px;
        height: 36px;
    }

    .input-box input {
        font-size: 12px;
        padding: 8px 35px 8px 10px;
    }

    .toggle-panel h1 {
        font-size: 18px;
    }
}
