/* Öğrenci Üyelik Sistemi - Styles */

:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --secondary-color: #10B981;
    --error-color: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Container */
.ous-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

.ous-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ous-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Success/Error Messages */
.ous-success-message,
.ous-error-message {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid;
    animation: slideDown 0.4s ease-out;
}

.ous-success-message {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

.ous-error-message {
    border-color: var(--error-color);
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

.ous-success-message svg,
.ous-error-message svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
}

.ous-success-message svg {
    color: var(--secondary-color);
}

.ous-error-message svg {
    color: var(--error-color);
}

.ous-success-message h3,
.ous-error-message h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.ous-success-message p,
.ous-error-message p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Tab Buttons */
.ous-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: var(--bg-light);
    padding: 6px;
    border-radius: 12px;
}

.ous-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ous-tab-btn svg {
    width: 20px;
    height: 20px;
}

.ous-tab-btn:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.ous-tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* Form Container */
.ous-form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: fadeIn 0.4s ease-out;
}

/* Form */
.ous-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ous-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ous-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ous-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ous-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ous-input-wrapper svg {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

.ous-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    background: var(--white);
    box-sizing: border-box;
}

.ous-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.ous-input-wrapper input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Checkbox */
.ous-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.ous-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.ous-checkbox span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Info Box */
.ous-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #EEF2FF;
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    margin-bottom: 10px;
}

.ous-info-box svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 1px;
}

.ous-info-box p {
    margin: 0;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Submit Button */
.ous-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}

.ous-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.ous-submit-btn:active {
    transform: translateY(0);
}

.ous-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loader */
.ous-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Message */
.ous-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.ous-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #10B981;
    display: block;
}

.ous-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #EF4444;
    display: block;
}

/* Footer */
.ous-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.ous-footer p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.ous-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.ous-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.ous-dashboard {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.ous-dashboard-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ous-dashboard-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ous-user-avatar {
    flex-shrink: 0;
}

.ous-user-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.ous-user-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 5px 0;
}

.ous-user-role {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
}

.ous-user-role svg {
    width: 16px;
    height: 16px;
}

.ous-dashboard-content {
    padding: 30px;
}

.ous-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.ous-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ous-info-item:hover {
    background: #EEF2FF;
    transform: translateY(-2px);
}

.ous-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.ous-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.ous-info-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ous-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ous-info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.ous-verification-status {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ous-verified {
    width: 100%;
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid var(--secondary-color);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ous-verified svg {
    width: 24px;
    height: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.ous-verified span {
    font-size: 14px;
    font-weight: 600;
    color: #065F46;
}

.ous-pending {
    width: 100%;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ous-pending svg {
    width: 24px;
    height: 24px;
    color: #F59E0B;
    flex-shrink: 0;
}

.ous-pending span {
    font-size: 14px;
    font-weight: 600;
    color: #92400E;
}

.ous-not-verified {
    width: 100%;
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 2px solid var(--error-color);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ous-not-verified svg {
    width: 24px;
    height: 24px;
    color: var(--error-color);
    flex-shrink: 0;
}

.ous-not-verified span {
    font-size: 14px;
    font-weight: 600;
    color: #991B1B;
}

.ous-dashboard-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.ous-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--error-color);
    border-radius: 10px;
    color: var(--error-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ous-logout-btn svg {
    width: 20px;
    height: 20px;
}

.ous-logout-btn:hover {
    background: var(--error-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .ous-container,
    .ous-dashboard {
        padding: 15px;
        margin: 20px auto;
    }
    
    .ous-form-container {
        padding: 20px;
    }
    
    .ous-form-row {
        grid-template-columns: 1fr;
    }
    
    .ous-title {
        font-size: 26px;
    }
    
    .ous-dashboard-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .ous-user-info h2 {
        font-size: 24px;
    }
    
    .ous-info-grid {
        grid-template-columns: 1fr;
    }
}
/* Şifre Yenileme Stilleri */
.forgot-password-link {
    color: #4F46E5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password-link:hover {
    color: #7C3AED;
    text-decoration: underline;
}

.back-to-login {
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.back-to-login:hover {
    color: #4F46E5;
}

.ous-form-header h2 {
    font-size: 24px;
    color: #1F2937;
    margin-bottom: 10px;
}

.ous-form-header p {
    color: #6B7280;
    font-size: 14px;
}