/* Modern Üye Karşılama Dashboard Stilleri (Ultra Premium Edition) */

:root {
    --yk-primary: #4f46e5;
    --yk-primary-light: #6366f1;
    --yk-primary-hover: #4338ca;
    --yk-success: #10b981;
    --yk-success-bg: rgba(16, 185, 129, 0.08);
    --yk-danger: #ef4444;
    --yk-danger-bg: rgba(239, 68, 68, 0.08);
    --yk-warning: #f59e0b;
    --yk-info: #06b6d4;
    --yk-dark: #0f172a;
    --yk-card-bg: #ffffff;
    --yk-card-border: #e2e8f0;
    --yk-text-main: #1e293b;
    --yk-text-muted: #64748b;
    --yk-radius-lg: 16px;
    --yk-radius-md: 12px;
    --yk-radius-sm: 8px;
    --yk-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --yk-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    --yk-shadow-hover: 0 20px 35px -10px rgba(79, 70, 229, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
    --yk-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animations */
@keyframes yk-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes yk-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Base Wrapper */
.yk-dashboard-wrapper {
    font-family: inherit;
    padding-bottom: 2.5rem;
}

/* Swiper Slider Wrapper */
.heroSwiperArea .swiper.heroSwiper {
    border-radius: var(--yk-radius-lg);
    overflow: hidden;
    box-shadow: var(--yk-shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.heroSwiperArea img {
    border-radius: var(--yk-radius-lg);
    object-fit: cover;
}

/* Action CTA Banner */
.yk-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #4338ca 100%);
    border-radius: var(--yk-radius-lg);
    padding: 1.5rem 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(67, 56, 202, 0.25);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.yk-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.yk-cta-banner-text {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 1;
}

.yk-cta-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--yk-radius-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.yk-cta-banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.yk-cta-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #312e81;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    padding: 0.85rem 1.75rem;
    border-radius: var(--yk-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--yk-transition);
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.yk-cta-btn:hover {
    background: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    color: #1e1b4b;
    text-decoration: none;
}

/* Member Quick Stats & Referral Links */
.yk-quick-card {
    background: var(--yk-card-bg);
    border: 1px solid var(--yk-card-border);
    border-radius: var(--yk-radius-lg);
    padding: 1.35rem 1.6rem;
    box-shadow: var(--yk-shadow-md);
    height: 100%;
    transition: var(--yk-transition);
    position: relative;
    overflow: hidden;
}

.yk-quick-card:hover {
    box-shadow: var(--yk-shadow-hover);
    border-color: #cbd5e1;
}

.yk-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--yk-text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.yk-card-label i {
    font-size: 0.95rem;
    color: var(--yk-primary);
}

.yk-uye-no-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--yk-dark);
    letter-spacing: 1px;
}

.yk-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--yk-radius-md);
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
    transition: var(--yk-transition);
}

.yk-link-box:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.yk-link-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--yk-text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yk-link-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.yk-action-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--yk-radius-sm);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--yk-text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--yk-transition);
    text-decoration: none !important;
    box-shadow: var(--yk-shadow-sm);
}

.yk-action-icon-btn:hover {
    background: var(--yk-primary);
    color: #ffffff;
    border-color: var(--yk-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Aktiflik & Section Containers */
.yk-section-container {
    background: var(--yk-card-bg);
    border: 1px solid var(--yk-card-border);
    border-radius: var(--yk-radius-lg);
    padding: 1.6rem 1.8rem;
    margin-top: 1.75rem;
    box-shadow: var(--yk-shadow-md);
    transition: var(--yk-transition);
}

.yk-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.yk-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--yk-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.yk-section-title-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--yk-radius-md);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
    color: var(--yk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

/* Month Cards (Aktiflik Tracker) */
.yk-month-card {
    border-radius: var(--yk-radius-md);
    padding: 1.1rem 0.9rem;
    text-align: center;
    position: relative;
    transition: var(--yk-transition);
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--yk-shadow-sm);
}

.yk-month-card:hover {
    transform: translateY(-3px);
}

.yk-month-card.aktif {
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
    color: #14532d;
}

.yk-month-card.pasif {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
    color: #7f1d1d;
}

.yk-month-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.aktif .yk-month-badge {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
    animation: yk-pulse 2.5s infinite;
}

.pasif .yk-month-badge {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
}

.yk-month-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.yk-month-dates {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 600;
}

.yk-remaining-badge {
    margin-top: 0.6rem;
    font-size: 0.725rem;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.15);
    color: #991b1b;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Dashboard KPI Grid & Cards */
.yk-kpi-card {
    background: var(--yk-card-bg);
    border: 1px solid var(--yk-card-border);
    border-radius: var(--yk-radius-lg);
    padding: 1.45rem 1.5rem;
    box-shadow: var(--yk-shadow-md);
    transition: var(--yk-transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yk-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--yk-primary) 50%, transparent 100%);
    opacity: 0;
    transition: var(--yk-transition);
}

.yk-kpi-card.clickable {
    cursor: pointer;
}

.yk-kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--yk-shadow-hover);
    border-color: #cbd5e1;
}

.yk-kpi-card:hover::before {
    opacity: 1;
}

.yk-kpi-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.yk-kpi-title {
    font-size: 0.825rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yk-text-muted);
    margin: 0;
    line-height: 1.35;
}

.yk-kpi-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--yk-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: var(--yk-transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.yk-kpi-card:hover .yk-kpi-icon-badge {
    transform: scale(1.1) rotate(4deg);
}

/* Icon Color Gradient Variants */
.icon-gold {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border: 1px solid #fcd34d;
}

.icon-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #0f766e;
    border: 1px solid #5eead4;
}

.icon-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.icon-indigo {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border: 1px solid #a5b4fc;
}

.icon-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7e22ce;
    border: 1px solid #d8b4fe;
}

.icon-amber {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c;
    border: 1px solid #fdba74;
}

.icon-emerald {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
    border: 1px solid #6ee7b7;
}

.icon-rose {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    color: #be123c;
    border: 1px solid #fda4af;
}

.icon-cyan {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #0e7490;
    border: 1px solid #67e8f9;
}

.yk-kpi-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yk-dark);
    line-height: 1.2;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.yk-kpi-subtext {
    font-size: 0.8rem;
    color: var(--yk-text-muted);
    font-weight: 600;
}

.yk-kpi-arrow {
    position: absolute;
    bottom: 1.2rem;
    right: 1.35rem;
    font-size: 0.95rem;
    color: var(--yk-text-muted);
    transition: var(--yk-transition);
    opacity: 0.4;
}

.yk-kpi-card.clickable:hover .yk-kpi-arrow {
    opacity: 1;
    color: var(--yk-primary);
    transform: translateX(4px);
}

/* Custom Animated Progress Bar */
.yk-career-progress-wrapper {
    margin-top: 0.85rem;
}

.yk-progress-track {
    height: 9px;
    border-radius: 10px;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.55rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.yk-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.4);
}

.yk-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.775rem;
    color: var(--yk-text-muted);
    font-weight: 700;
}

/* Enhanced Form Inputs */
.yk-section-container input.form-control,
.yk-section-container select.form-control,
.yk-quick-card input.form-control {
    border-radius: var(--yk-radius-md);
    border: 1px solid #cbd5e1;
    padding: 0.65rem 0.9rem;
    font-weight: 500;
    color: var(--yk-text-main);
    transition: var(--yk-transition);
}

.yk-section-container input.form-control:focus,
.yk-section-container select.form-control:focus,
.yk-quick-card input.form-control:focus {
    border-color: var(--yk-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

/* Table Row Hover Enhancements */
.table-hover tbody tr {
    transition: var(--yk-transition);
}

.table-hover tbody tr:hover {
    background-color: rgba(79, 70, 229, 0.035) !important;
}

/* Modal Popup Styles */
.modal-content {
    border-radius: var(--yk-radius-lg);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.35rem 1.6rem;
    background: #f8fafc;
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
    padding: 1.1rem 1.6rem;
    background: #f8fafc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .yk-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 1.35rem 1.25rem;
    }

    .yk-cta-banner-text {
        flex-direction: column;
    }

    .yk-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .yk-kpi-value {
        font-size: 1.3rem;
    }

    .yk-section-container {
        padding: 1.25rem 1.1rem;
    }
}