/* Common Auth Styles - Shared across signup, login, and forgot-password pages */

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body - fullscreen gradient background */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

/* Common container styles */
.auth-container,
.container,
.verification-container,
.reset-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

/* Common header styles */
.auth-header,
.header,
.verification-header,
.reset-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 40px 30px;
    text-align: center;
}

.auth-header h1,
.header h1,
.verification-header h1,
.reset-header h1 {
    color: white;
    margin-bottom: 10px;
}

.auth-header p,
.header p,
.verification-header p,
.reset-header p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

/* Container widths */
.container {
    max-width: 500px;
}

.verification-container {
    max-width: 450px;
}

.reset-container {
    max-width: 400px;
}

/* Common form styles */
.auth-form {
    padding: 40px 30px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.btn-primary:hover,
.btn-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:active,
.btn-reset:active {
    transform: translateY(0);
}

/* Alert and message styles */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error,
.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success,
.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Form footer styles */
.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.form-footer a {
    color: #10b981;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.form-footer a:hover {
    color: #059669;
    text-decoration: underline;
}

/* Additional common styles from new auth pages */
.content,
.verification-content {
    padding: 40px 30px;
}

/* Info box styles */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #1e40af;
}

/* Divider */
.divider {
    margin: 15px 0;
    color: #9ca3af;
    font-size: 14px;
}

/* Help text */
.help-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Logo styles */
.logo-icon {
    width: 48px;
    height: 48px;
    background: #10b981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 28px;
    font-weight: bold;
}