/* LoginRegister Module Theme - Dark Glass Morphism */

#LoginRegister {
    padding: 2rem 0;
}

/* Form Container */
#LoginRegister .Inputfields {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Form Title */
#LoginRegister h2,
#LoginRegister legend {
    font-family: 'Quicksand', sans-serif;
    color: #E5E7EB;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Inputfield Items */
.Inputfield {
    margin-bottom: 1.5rem;
}

/* Labels */
.Inputfield label,
.InputfieldHeader {
    color: #D1D5DB;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Input Fields */
#LoginRegister input[type="text"],
#LoginRegister input[type="email"],
#LoginRegister input[type="password"],
#LoginRegister select,
#LoginRegister textarea {
    font-family: 'Inter', sans-serif;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: #E5E7EB;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

#LoginRegister input[type="text"]:focus,
#LoginRegister input[type="email"]:focus,
#LoginRegister input[type="password"]:focus,
#LoginRegister select:focus,
#LoginRegister textarea:focus {
    outline: none;
    border-color: #22D3EE;
    background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

#LoginRegister input::placeholder {
    color: #6B7280;
}

/* Submit Button */
#LoginRegister input[type="submit"],
#LoginRegister button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px -2px rgba(99, 102, 241, 0.3);
}

#LoginRegister input[type="submit"]:hover,
#LoginRegister button[type="submit"]:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    box-shadow: 0 8px 20px -2px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

#LoginRegister input[type="submit"]:active,
#LoginRegister button[type="submit"]:active {
    transform: translateY(0);
}

/* Checkbox */
#LoginRegister input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #6366F1;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.35rem;
}

/* Checkbox Wrapper */
.Inputfield_checkbox,
.Inputfield_checkboxes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.Inputfield_checkbox label,
.Inputfield_checkboxes label {
    margin: 0;
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Field Description */
.description {
    color: #9CA3AF;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Error State */
.InputfieldStateError input {
    border-color: #EF4444 !important;
}

.LoginRegisterError {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Success Message */
.LoginRegisterMessage {
    background-color: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #A5F3FC;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Links and Navigation */
#LoginRegister a {
    color: #22D3EE;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

#LoginRegister a:hover {
    color: #06B6D4;
    text-decoration: underline;
}

/* Paragraph text */
#LoginRegister p {
    color: #D1D5DB;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

/* List items (links below form) */
.LoginRegisterLinks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.LoginRegisterLinks li {
    text-align: center;
}

.LoginRegisterLinks a {
    display: inline-block;
    padding: 0.5rem;
}

/* Welcome screen for logged-in users */
#LoginRegister h3 {
    font-family: 'Quicksand', sans-serif;
    color: #E5E7EB;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Fieldset styling */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    padding: 0;
    width: 100%;
}

/* ProcessForgotPassword Styles */
#ProcessForgotPassword {
    padding: 2rem 0;
}

#ProcessForgotPassword .Inputfields,
#ProcessForgotPassword form {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#ProcessForgotPassword h2,
#ProcessForgotPassword legend {
    font-family: 'Quicksand', sans-serif;
    color: #E5E7EB;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

#ProcessForgotPassword .Inputfield {
    margin-bottom: 1.5rem;
}

#ProcessForgotPassword label,
#ProcessForgotPassword .InputfieldHeader {
    color: #D1D5DB;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

#ProcessForgotPassword input[type="text"],
#ProcessForgotPassword input[type="email"],
#ProcessForgotPassword input[type="password"] {
    font-family: 'Inter', sans-serif;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: #E5E7EB;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#ProcessForgotPassword input[type="text"]:focus,
#ProcessForgotPassword input[type="email"]:focus,
#ProcessForgotPassword input[type="password"]:focus {
    outline: none;
    border-color: #22D3EE;
    background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

#ProcessForgotPassword input::placeholder {
    color: #6B7280;
}

#ProcessForgotPassword input[type="submit"],
#ProcessForgotPassword button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px -2px rgba(99, 102, 241, 0.3);
}

#ProcessForgotPassword input[type="submit"]:hover,
#ProcessForgotPassword button[type="submit"]:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    box-shadow: 0 8px 20px -2px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

#ProcessForgotPassword .description {
    color: #9CA3AF;
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

#ProcessForgotPassword p {
    color: #D1D5DB;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#ProcessForgotPassword p strong {
    color: #E5E7EB;
}

#ProcessForgotPassword .detail {
    color: #9CA3AF;
    font-size: 0.8125rem;
}

#ProcessForgotPassword a {
    color: #22D3EE;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

#ProcessForgotPassword a:hover {
    color: #06B6D4;
    text-decoration: underline;
}

/* Error Messages for ProcessForgotPassword */
#ProcessForgotPassword .InputfieldStateError input {
    border-color: #EF4444 !important;
}

#ProcessForgotPassword .NoticeError,
#ProcessForgotPassword .pw-notice-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

#ProcessForgotPassword .NoticeMessage,
#ProcessForgotPassword .pw-notice-message {
    background-color: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #A5F3FC;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

/* Icon styling */
#ProcessForgotPassword .fa,
#ProcessForgotPassword .icon {
    display: none;
}

/* Code block for verification code */
#ProcessForgotPassword code {
    background-color: rgba(15, 23, 42, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-family: monospace;
    color: #22D3EE;
}
