.login-container {
    min-height: 100dvh;
    /*background: linear-gradient(135deg, #f8d7da 0%, #f5c2c7 50%, #f1aeb5 100%);*/
    /*background-color: var(--background-container);*/
    background-color: var(--background-containerv2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* width: 100vw; */
    /* overflow: hidden; */
}

.login-wrapper {
    display: flex;
    gap: 40px;
    max-width: 350px;
    width: 100%;
    /*background-color: var(--secondary);*/
}

.login-panel {
    /*background: rgba(255, 255, 255, 0.1);*/
    /*background: linear-gradient(71deg, #080509, #1a171c, #080509);*/
    /*background: linear-gradient(71deg, #2a2630, #3b3742, #2a2630);*/
    backdrop-filter: blur(10px);
    background: rgba(50, 50, 50, 0.95);
    box-shadow: var(--lighter-shadow);
    /*border: 5px solid var(--palette-pink);*/
    border: var(--input-border);
    /*border-radius: 25px;*/
    border-radius: 10px;
    padding: 25px 25px;
    flex: 1;
    min-width: 300px;
}

.panel-title {
    font-size: 2.5em;
    font-weight: 700;
    /*color: #6a1b9a;*/
    color: var(--title-color);
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 6px 10px;
    /*border: 3px solid var(--primary-dark);*/
    /*border: 3px solid #FE5D26;*/
    border: none;
    border-bottom: var(--input-border-wider);
    /*border-radius: 12px;*/
    border-radius: 5px;
    /*background: var(--primary-light);*/
    background: var(--input-background-color);
    font-size: 16px;
    color: #000;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    /*border-color: #00759c;*/
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    box-shadow: var(--light-shadow);
}

.form-options {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    margin-bottom: 15px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    /*color: #333;*/
    color: #eee;
    gap: 5px;
}

/*.checkbox-container input[type="checkbox"] {*/
/*    margin-right: 8px;*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    accent-color: #4caf50;*/
/*}*/

.forgot-link {
    /*color: #6a1b9a;*/
    /*color: blue;*/
    color: #4a90e2;
    font-size: 16px;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    width: 100%;
    padding: 5px;
    /*background: linear-gradient(45deg, #26c6da, #00acc1);*/
    background-color: var(--background-wrapper);
    border: none;
    /*border-radius: 25px;*/
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
    /*box-shadow: 0 5px 15px rgba(38, 198, 218, 0.4);*/
    box-shadow: var(--lighter-shadow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.divider {
    text-align: center;
    margin: 10px 0;
    /*color: #333333;*/
    color: #eee;
    opacity: 1.5;
    font-weight: 500;
    position: relative;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    /*background: #333333;*/
    background: #eee;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.profile-upload span {
    color: #6a1b9a;
    font-weight: 500;
}

.need-account {
    display: flex;
    justify-content: center;
    align-items: center;
    /*color: #000;*/
    color: #eee;
}

.need-account a {
    /*color: blue;*/
    color: #4a90e2;
    transition: color ease-in-out 0.3s;
}

.need-account a:hover {
    text-decoration: underline;
    /*color: var(--primary-color);*/
    /*color: darkblue;*/
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    display: block;
}


/* Hide validation messages when valid */
.valid .validation-error {
    display: none;
}

.validation-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    padding-left: 20px;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    border-radius: 15px;
    padding: 10px 15px;
    margin-top: 15px;
    color: #d32f2f;
    font-size: 14px;
    text-align: center;
}

@keyframes spin {
     to { transform: rotate(360deg); }
 }


/* Google button styles */
.gsi-material-button {
    display: block;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #131314;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #e3e3e3;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
    border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #13131461;
    border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
    background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: white;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: white;
    opacity: 8%;
}