/* Üyelik Sistemi CSS */

/* Üyelik Modal */
.membership-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.membership-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.membership-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.membership-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.membership-modal-title i {
    font-size: 1.8rem;
}

.membership-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.membership-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.membership-modal-body {
    padding: 30px;
}

/* Üyelik Formu */
.membership-form {
    margin-bottom: 20px;
}

.membership-form .form-group {
    margin-bottom: 20px;
}

.membership-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-form label i {
    color: #667eea;
}

.membership-form input,
.membership-form select,
.membership-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.membership-form input:focus,
.membership-form select:focus,
.membership-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

.membership-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Şifre Görünürlük Toggle */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background: #e9ecef;
    color: #333;
}

/* Üyelik Butonları */
.membership-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.membership-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.membership-btn-secondary {
    background: #6c757d;
}

.membership-btn-secondary:hover {
    background: #5a6268;
}

/* Üyelik Avantajları */
.membership-benefits {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.membership-benefits h4 {
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.membership-benefits ul {
    margin: 0;
    padding-left: 20px;
}

.membership-benefits li {
    margin-bottom: 8px;
    color: #856404;
    line-height: 1.6;
}

/* Üye Durumu Göstergeleri */
.member-status,
.non-member-status {
    display: none;
}

.member-status {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.non-member-status {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Bildirimler */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    z-index: 10000;
    border-left: 4px solid #667eea;
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.notification-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #333;
}

.notification-body {
    padding: 15px 20px;
}

.notification-body p {
    margin: 0;
    line-height: 1.6;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hata Mesajları */
.error-message {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .membership-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .membership-modal-header {
        padding: 20px;
    }
    
    .membership-modal-body {
        padding: 20px;
    }
    
    .membership-modal-title {
        font-size: 1.3rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Menüdeki Üyelik Linki */
.membership-menu-item {
    margin-left: 15px;
}

.membership-menu-item a {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.membership-menu-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    color: white !important;
    text-decoration: none;
}

.membership-menu-item a i {
    font-size: 14px;
}

/* Mobil menüde üyelik */
@media (max-width: 768px) {
    .membership-menu-item {
        margin: 10px 0;
        text-align: center;
    }
    
    .membership-menu-item a {
        justify-content: center;
        width: 100%;
        padding: 12px 20px !important;
    }
} 