/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2563eb;
}

/* Container and Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.col-registration {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header Styles */
.header-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: "Poppins", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
}

.header-info ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-info ul li {
    margin-left: 1.5rem;
}

.header-info ul li a {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.header-info ul li a:hover {
    color: #3b82f6;
}

/* Main Content */
.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
}

/* Registration Card */
.registration-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.card-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #D3D3D3;
}

.card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.1rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.card-body {
    padding: 2rem;
}

/* Form Styles */
.registration-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.weak {
    border-color: #ef4444;
}

.form-group input.medium {
    border-color: #f59e0b;
}

.form-group input.strong {
    border-color: #10b981;
}

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

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #6b7280;
}

.eye-icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #64748b;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-full {
    width: 100%;
    height: 48px;
    margin-bottom: 1.5rem;
}

.btn-google {
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    width: 100%;
    height: 48px;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.btn-google:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid #e2e8f0;
    transform: translateY(-50%);
}

.divider span {
    background: #ffffff;
    padding: 0 1rem;
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Login Link */
.login-link {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.login-link a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .col-registration {
        max-width: 100%;
    }
    
    .registration-card {
        border-radius: 12px;
        margin: 0 0.5rem;
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .header-info ul li {
        margin-left: 1rem;
    }
    
    .header-info ul li a {
        font-size: 0.75rem;
    }
    
    .main {
        padding: 5rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .registration-card {
        margin: 0 0.25rem;
        border-radius: 8px;
    }
    
    .card-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .card-title {
        font-size: 1.375rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .form-group input,
    .btn-full,
    .btn-google {
        height: 44px;
    }
    
    .form-group input {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .header-area {
        padding: 0.75rem 0;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .header-info ul li a {
        font-size: 0.75rem;
    }
    
    .main {
        padding: 4.5rem 0 1rem;
    }
}

/* Focus styles for accessibility */
.btn:focus-visible,
.form-group input:focus-visible,
.checkbox-container:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state */
.btn.loading {
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Smooth transitions */
* {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* Print styles */
@media print {
    .header-area {
        display: none;
    }
    
    .main {
        padding-top: 0;
    }
    
    .registration-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
   
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2563eb;
}

/* Container and Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.col-login {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header Styles */
.header-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: "Poppins", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
}

.header-info ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-info ul li {
    margin-left: 1.5rem;
}

.header-info ul li a {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.header-info ul li a:hover {
    color: #3b82f6;
}

/* Main Content */
.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
}

/* Login Card */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.card-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.card-body {
    padding: 2rem;
}

/* Google Button Styles */
.btn-google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: "Roboto", "arial", sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn-google:hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.30), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    background-color: #f8f9fa;
}

.btn-google:active {
    background-color: #f1f3f4;
    border-color: #d2d6da;
}

.btn-google:focus {
    outline: none;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.30), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Form Styles */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 0.875rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #6b7280;
}

.eye-icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 11px;
    font-weight: bold;
}

/* Forgot Link */
.forgot-link {
    font-size: 0.875rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-full {
    width: 100%;
    height: 48px;
    margin-bottom: 1.5rem;
}

/* Divider */
.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid #e2e8f0;
    transform: translateY(-50%);
}

.divider span {
    background: #ffffff;
    padding: 0 1rem;
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Signup Link */
.signup-link {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.signup-link a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.signup-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Message Styles */
.message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    animation: slideIn 0.3s ease;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.error-message .message-icon {
    stroke: #dc2626;
}

.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.success-message .message-icon {
    stroke: #16a34a;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-spinner p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .col-login {
        max-width: 100%;
    }
    
    .login-card {
        border-radius: 12px;
        margin: 0 0.5rem;
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .header-info ul li {
        margin-left: 1rem;
    }
    
    .header-info ul li a {
        font-size: 0.75rem;
    }
    
    .main {
        padding: 5rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .login-card {
        margin: 0 0.25rem;
        border-radius: 8px;
    }
    
    .card-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .card-title {
        font-size: 1.375rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .form-group input,
    .btn-full,
    .btn-google {
        height: 44px;
    }
    
    .form-group input {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-google {
        font-size: 0.875rem;
        gap: 10px;
    }
    
    .google-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-area {
        padding: 0.75rem 0;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .header-info ul li a {
        font-size: 0.75rem;
    }
    
    .main {
        padding: 4.5rem 0 1rem;
    }
    
    .loading-spinner {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

/* Focus styles for accessibility */
.btn:focus-visible,
.form-group input:focus-visible,
.checkbox-container:focus-visible,
.forgot-link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state for buttons */
.btn.loading {
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.btn-google.loading::after {
    border-color: #3c4043;
    border-top-color: transparent;
}

/* Smooth transitions */
* {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .login-card {
        border: 2px solid #000000;
    }
    
    .form-group input {
        border-width: 2px;
    }
    
    .btn-google {
        border: 2px solid #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-overlay {
        transition: none;
    }
    
    .message {
        animation: none;
    }
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here when needed */
}

/* Print styles */
@media print {
    .header-area,
    .loading-overlay {
        display: none;
    }
    
    .main {
        padding-top: 0;
    }
    
    .login-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .btn-google {
        border: 1px solid #000;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}