html, body {
    width: 100%;
    height: 100%;
    background-color:rgb(16, 18, 20);
    display: flex;
    justify-content: center;
    align-items: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
}
#content_container {
    width: 30%;
    height: auto; /* Changed from 20% to allow growth */
    min-height: 250px;
}

#confirm_password {
    border-image: -webkit-linear-gradient(25deg, #8338EC, #3A86FF) 1; /* Slightly different color for confirm */
    transition: all 0.3s ease;
}

#form_container {
    /* Assuming your current desktop width is around 400px-450px */
    width: 450px;
    margin: auto;
}

#form_header_container {
    width: 100%;
    height: 5%;

    display: flex;
    justify-content: center;
    align-items: center;
    float: left;

    padding: 20px;
    padding-bottom: 5px;
    padding-top: 5px;

    border-bottom: 1px solid transparent;
    border-image: -webkit-linear-gradient(25deg, #FFBE0B, #FB5607, #FF006E, #8338EC, #3A86FF) 20;
    background: #000;
}

#form_header {
    display: inline-block;
    font-size: 15px;
    font-family: Bowlby One SC;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;


    background: -webkit-linear-gradient(25deg, #FFBE0B, #FB5607, #FF006E, #8338EC, #3A86FF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
}

#form_content_container {
    width: 100%;
    height: 90%;

    float: left;
    background-color:rgb(16, 18, 20);
    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 30px;
}

#form_content_inner_container {
    width: 75%;
    height: 100%;

    float: left;

}

input {
    width: 100%;
    height: 40px;

    padding-left: 10px;
    margin-bottom: 20px;

    background: rgb(255, 255, 255);
    font-family: Montserrat;
    font-weight: 500;
    color: rgb(16, 18, 20);
    font-size: 12px;

    border-bottom: 2px solid transparent;
    border-top-left-radius: 2%;
    border-top-right-radius: 2%;
    border-image: -webkit-linear-gradient(25deg, #FFBE0B, #FB5607, #FF006E, #8338EC, #3A86FF) 1;
}

/* Color the Delete Original checkbox red for warning */
.delete-orig-checkbox {
    accent-color: #f44336;
    cursor: pointer;
    transform: scale(1.2);
}

.duplicate-checkbox {
    accent-color: #4caf50;
    cursor: pointer;
    transform: scale(1.2);
}

#duplicate-table th {
    background-color: #2a2a2a;
    padding: 12px;
    border-bottom: 2px solid #444;
}

#duplicate-table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}

#button_container {
    width: 100%;
    height: 10%;
    background-image: linear-gradient(80deg, #FFBE0B, #FB5607 50%, #FF006E 50%, #8338EC);
    color: #fff;

    float: left;

    margin-top: 5px;
}

#button_container button {
    width: 50%;
    height: 100%;
    float: left;

    background: transparent;
    color: inherit;

    font-family: Montserrat;
    letter-spacing: 1px;
    font-weight: 900;
    font-size: 12px;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Onboarding UI */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.onboarding-card {
    background: #101214;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
    width: 400px;
    text-align: center;
}

.onboarding-card p {
    color: #888;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.onboard-btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: #D62929;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
}

.onboard-btn:hover { background: #f03e3e; }

.onboarding-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* index.css */
#forgotPasswordText {
    width: 100%;
    float: left; /* Aligns with the layout of your other elements */
    color: #888;
    font-family: Montserrat;
    font-size: 11px;
    text-align: right; /* Centered looks better below the buttons */
    margin-top: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

#forgotPasswordText:hover {
    color: #FB5607; /* Matches your brand's orange gradient */
    text-decoration: underline;
}

button:disabled {
    cursor: not-allowed;
    filter: grayscale(1); /* Makes the neon colors turn gray while loading */
}

#loginBtn, #registerBtn {
        width: 100%;
        padding: 12px;
    }

/* --- Copyright Footer Style --- */
#footer-copyright {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 480px) {
    #form_container {
        /* Make the box take up 90% of the screen width on mobile */
        width: 100% !important;
        max-width: 400px;
        padding: 20px;
        box-sizing: border-box;
    }

    #content_container {
        width: 100%;
        height: auto; /* Changed from 20% to allow growth */
        min-height: 250px;
    }

    #form_header img {
        /* Scale the logo to fit the new width */
        width: 80% !important;
        height: auto !important;
    }

    #loginBtn, #registerBtn {
            width: 100%;
            padding: 12px;
        }

}
