/* Resolver Find - Auth Pages Styles */

/* Base Styles */
body {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    background-color: #090d15;
    color: rgba(255, 255, 255, 0.87);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Link Styles */
a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
}

a:hover {
    color: #535bf2;
}

/* Container Styles */
.auth-container {
    background: #101828;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

.logout-container {
    text-align: center;
}

/* Header Styles */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: rgba(255, 255, 255, 0.87);
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    margin: 10px 0 0 0;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.87);
    font-weight: 500;
    font-size: 14px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 16px;
    background-color: #2a2a2a;
    color: rgba(255, 255, 255, 0.87);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #646cff;
    box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.1);
}

/* Button Styles */
.auth-button {
    padding: 0.6em 1.2em;
    background-color: #d4a237;
    color: white;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-button:hover {
    background-color: white;
    color: #d4a237;
    border-color: #d4a237;
}

.auth-button:focus,
.auth-button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.auth-button:disabled {
    background-color: #efdca9;
    cursor: not-allowed;
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button.full-width {
    width: 100%;
    margin: 10px 0;
    padding: 14px 30px;
}

.cancel-button {
    padding: 0.6em 1.2em;
    background-color: white;
    color: #d4a237;
    border: 1px solid #d4a237;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cancel-button:hover {
    background-color: #d4a237;
    color: white;
}

.cancel-button:focus,
.cancel-button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.cancel-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Message Styles */
.error-message {
    background: #2a1a1a;
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ff4444;
    font-size: 14px;
}

.success-message {
    background: #1a2a1a;
    color: #51cf66;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #40c057;
    font-size: 14px;
}

/* Icon Styles */
.auth-icon {
    font-size: 48px;
    color: #646cff;
    margin-bottom: 20px;
}

/* Footer Styles */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        padding: 20px;
        margin: 10px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .auth-button, .cancel-button {
        width: 100%;
        margin: 5px 0;
    }
}

/* Custom color variants */
.auth-container.success-theme {
    border-top: 4px solid #40c057;
}

.auth-container.warning-theme {
    border-top: 4px solid #fab005;
}

.auth-container.danger-theme {
    border-top: 4px solid #ff6b6b;
}
