/********************************
 * Base Styles (Desktop / Larger)
 ********************************/
 #auth-container {
    background: #1a1f2b;
    color: #fff;
    text-align: left;
    /* Instead of min-width: 40vw, use a max-width + auto margin */
    max-width: 600px;
    margin: auto;
    padding: 40px 60px;
    border-radius: 18px;
}

#auth-container input,
#auth-container button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}

a {
    color: #38b6ff;
    text-decoration: none;
}

.forgot-password {
    text-align: end;
    margin-bottom: 40px;
}

.forgot-password a {
    font-size: 16px;
    color: #60c7ce!important;
    text-decoration: underline;
}

#auth-container input {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid #466896!important;
    border-radius: 0!important;
    margin-bottom: 24px!important;
    font-size: 16px;
}



.login-button {
    margin-top: 24px!important;
    border-radius: 8px!important;
    background: linear-gradient(90deg, #60c7ce 0%, #258394 100%)!important;
    padding: 16px!important;
    cursor: pointer!important;
    font-size: 18px!important;
    font-weight: 700!important;
    color: white!important;
}

.login-button:hover {
    color: white!important;
}

.sign-up-button {
    margin-top: 24px!important;
    border-radius: 8px!important;
    background: linear-gradient(90deg, #60c7ce 0%, #258394 100%)!important;
    padding: 16px!important;
    cursor: pointer!important;
    font-size: 18px!important;
    font-weight: 700!important;
    color: white!important;
}

.headline {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
}

#show-signup {
    background-clip: text!important;
    -webkit-background-clip: text!important;
    background: linear-gradient(90deg, #60c7ce 0%, #258394 100%);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-decoration: underline;
}

#login-form {
    overflow: hidden;
}

#custom-signup-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 8px;
}

#user-profile {
    background: #1a1f2b;
    /* Instead of min-width: 40vw, use a max-width + auto margin */
    max-width: 700px;
    margin: 40px auto;
    padding: 20px 40px;
    border-radius: 10px;
    color: #fff;
    text-align: left;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-header h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
}

.edit-button {
    background: #06152A!important;
    border: 2px solid #258394!important;
    padding: 10px 24px!important;
    border-radius: 5px!important;
    cursor: pointer!important;
    text-align: center!important;
}

.edit-button span {
    color: #258394;
}

.delete-button {
    margin-top: 24px!important;
    background: #06152A!important;
    border: 2px solid #D34FFF!important;
    color: #D34FFF!important;
    padding: 10px 24px!important;
    border-radius: 5px!important;
    cursor: pointer!important;
    text-align: center!important;
}

.profile-section {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profile-info {
    display: flex;
    justify-content: space-between;
}

.profile-info p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.profile-info div {
    flex: 1;
}

.profile-data {
    color: #fff;
    font-size: 18px!important;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
}

/********************************
 * Responsive Media Queries
 ********************************/

/* Example: For tablets and below */
@media (max-width: 768px) {
    #auth-container, 
    #user-profile {
        /* Make them fluid at smaller screens */
        max-width: 90%;
        padding: 20px;
    }

    .headline {
        font-size: 32px; /* reduce headline size */
    }

    #custom-signup-form {
        /* Stack form fields in one column on smaller screens */
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    
    .profile-section {
        /* Stack each profile section item */
        grid-template-columns: 1fr;
    }
}

/* Example: For mobile phones */
@media (max-width: 480px) {
    #auth-container, 
    #user-profile {
        max-width: 95%;
        padding: 16px;
    }

    .headline {
        font-size: 28px;
    }

    .edit-button, 
    .delete-button {
        padding: 8px 16px;
    }

    .login-button, 
    .sign-up-button {
        font-size: 16px;
        padding: 12px!important;
    }
}


#show-login{
    font-weight: 700;
    text-decoration: underline;
}