/* Authentication Styles - Extracted from auth views */

/* Login Container */
.login-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header Section */
.header-section {
    background: #4f46e5;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.header-section img {
    height: 64px;
    width: auto;
    margin: 0 auto;
}

.header-section h2 {
    margin: 15px 0 5px;
    font-size: 24px;
    font-weight: bold;
}

.header-section p {
    color: #e0e7ff;
    font-size: 14px;
}

/* Form Section */
.form-section {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Password Fields */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
}

.password-toggle:hover {
    color: #374151;
}

/* Links */
.forgot-password {
    display: block;
    text-align: right;
    color: #4f46e5;
    font-size: 14px;
    text-decoration: none;
    margin-top: 8px;
}

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

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.register-link a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Buttons */
.submit-button {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #4338ca;
}

/* Messages */
.error-message {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.error-message h3 {
    color: #991b1b;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.error-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.error-list li {
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 4px;
}

.success-message {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.success-message p {
    color: #166534;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Security Note (for password setup) */
.security-note {
    margin-top: 20px;
    padding: 15px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 13px;
    color: #4b5563;
}

.security-note h4 {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.security-note ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.security-note li {
    margin-bottom: 4px;
}

/* Admin Login Specific */
.admin-login-container {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-header-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.admin-header-section img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.admin-header-section h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
}

.admin-header-section p {
    color: #cbd5e1;
    font-size: 16px;
    margin: 0;
}

.admin-form-section {
    padding: 40px 30px;
}

.admin-form-group {
    margin-bottom: 24px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.admin-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background: #f8fafc;
}

.admin-form-control:focus {
    outline: none;
    border-color: #1e293b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.admin-submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-submit-button:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.3);
}

.admin-error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.admin-error-message h3 {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.admin-error-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.admin-error-list li {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 4px;
}

/* Password Setup Specific */
.password-setup-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.password-setup-header {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.password-setup-header img {
    height: 80px;
    width: auto;
    margin: 0 auto 20px;
}

.password-setup-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
}

.password-setup-header p {
    color: #d1fae5;
    font-size: 16px;
    margin: 0;
}

.password-setup-form {
    padding: 40px 30px;
}

.password-requirements {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.password-requirements h4 {
    color: #166534;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.password-requirements ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.password-requirements li {
    color: #166534;
    font-size: 13px;
    margin-bottom: 4px;
}

.password-setup-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.password-setup-button:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Forgot Password Specific */
.forgot-password-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.forgot-password-header {
    background: #4f46e5;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.forgot-password-header img {
    height: 64px;
    width: auto;
    margin: 0 auto;
}

.forgot-password-header h2 {
    margin: 15px 0 5px;
    font-size: 24px;
    font-weight: bold;
}

.forgot-password-header p {
    color: #e0e7ff;
    font-size: 14px;
}

.forgot-password-form {
    padding: 30px;
}

.forgot-password-info {
    margin-top: 10px;
    font-size: 12px;
    color: #059669;
}

/* Change Password Specific */
.change-password-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.change-password-header {
    background: #4f46e5;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.change-password-header img {
    height: 64px;
    width: auto;
    margin: 0 auto;
}

.change-password-header h2 {
    margin: 15px 0 5px;
    font-size: 24px;
    font-weight: bold;
}

.change-password-header p {
    color: #e0e7ff;
    font-size: 14px;
}

.change-password-form {
    padding: 30px;
}

.change-password-button {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.change-password-button:hover {
    background: #4338ca;
}

/* Register Specific */
.register-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.register-container .header-section {
    background: #4f46e5;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.register-container .header-section img {
    height: 64px;
    width: auto;
    margin: 0 auto;
}

.register-container .header-section h2 {
    margin: 15px 0 5px;
    font-size: 24px;
    font-weight: bold;
}

.register-container .header-section p {
    color: #e0e7ff;
    font-size: 14px;
}

.content-section {
    padding: 30px;
    text-align: center;
}

.info-message {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-message h3 {
    color: #1e40af;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.info-message p {
    color: #1e3a8a;
    font-size: 14px;
    margin: 0;
}

.redirect-button {
    display: inline-block;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.redirect-button:hover {
    background: #4338ca;
    color: white;
    text-decoration: none;
}

.back-to-login {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.back-to-login a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.back-to-login a:hover {
    text-decoration: underline;
}

/* Reset Password Specific */
.reset-password-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
}

.password-toggle:hover {
    color: #374151;
}

.help-text {
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

/* Security Note for Reset Password */
.reset-password-container .security-note {
    background: #f9fafb;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
    margin-top: 0;
}

.reset-password-container .security-note svg {
    vertical-align: middle;
    margin-right: 5px;
}

/* Change Password Specific */
.change-password-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.change-password-container .submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.change-password-container .submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.back-to-account {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #6b7280;
}

.back-to-account a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.back-to-account a:hover {
    text-decoration: underline;
}

/* Security Note for Change Password */
.change-password-container .security-note {
    background: #f9fafb;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
}

.change-password-container .security-note svg {
    vertical-align: middle;
    margin-right: 5px;
}

/* Customer Password Setup Specific */
.password-setup-container .progress-section {
    background: #f9fafb;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: 500;
}

.step.active .step-number {
    background: #4f46e5;
    color: white;
}

.step.inactive .step-number {
    background: #e5e7eb;
    color: #6b7280;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
}

.step.active .step-label {
    color: #4f46e5;
}

.step.inactive .step-label {
    color: #6b7280;
}

.progress-line {
    flex: 1;
    height: 2px;
    margin: 0 10px;
}

.progress-line.active {
    background: #4f46e5;
}

.progress-line.inactive {
    background: #e5e7eb;
}

.password-setup-container .submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
} 