* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../images/background.jpg');
    min-height: 100vh;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
}

.back-button {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-button:hover {
    border-color: rgba(218, 173, 41, 0.8);
    background: rgba(218, 173, 41, 0.1);
}

.login-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 0 20px;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    /* set width as needed, e.g., 100% or a fixed width */
    width: 100%;
}

.title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    /* Remove left padding if there's an icon to prevent double spacing */
    padding-left: 0;
}

.input-icon-group {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    margin-bottom: 15px;
}
.input-icon {
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: #bbb;
}
.input-icon + .input-field {
    border: none;
    background: transparent;
    border-radius: 0 25px 25px 0;
    padding-left: 0;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-field:focus {
    border-color: rgba(218, 173, 41, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(218, 173, 41, 0.2);
}

.password-container {
    position: relative;
}

.show-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.show-password:hover {
    color: rgba(218, 173, 41, 0.8);
}

.forgot-password {
    font-size: 14px;
    /* Remove large margin-left! */
    margin-left: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.forgot-password a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: rgba(218, 173, 41, 0.8);
}

.login-button {
    width: 35%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(218, 173, 41, 0.9), rgba(218, 173, 41, 0.7));
    border: none;
    border-radius: 15px;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-button:hover {
    background: linear-gradient(135deg, rgba(218, 173, 41, 1), rgba(218, 173, 41, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 173, 41, 0.3);
}

.signup-button {
    width: 35%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(218, 173, 41, 0.9), rgba(218, 173, 41, 0.7));
    border: none;
    border-radius: 15px;
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-button:hover {
    background: linear-gradient(135deg, rgba(218, 173, 41, 1), rgba(218, 173, 41, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 173, 41, 0.3);
}

.signup-link {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.signup-link a {
    color: rgba(218, 173, 41, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: rgba(218, 173, 41, 1);
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: rgba(218, 173, 41, 0.8);
}

.remember-me label {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

@media (max-width: 480px) {
    .title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .login-container {
        padding: 0 15px;
    }
}

.signup-button:disabled {
    background-color: #cccccc !important;
    color: #888888 !important;
    cursor: not-allowed !important;
    border: none !important;
    opacity: 0.7;
    /* Remove any box-shadow or transition if you have them */
    box-shadow: none !important;
    transition: none !important;
}

.signup-button:disabled:hover,
.signup-button:disabled:active,
.signup-button:disabled:focus {
    background-color: #cccccc !important;
    color: #888888 !important;
    cursor: not-allowed !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
}