/* Asansör Platform - Bootstrap CDN Based Styles */

/* Custom CSS Variables */
:root {
    --brand-primary: #2563eb;
    --brand-primary-dark: #1e40af;
    --brand-primary-light: #60a5fa;
}

/* Global Font Family - Poppins (Navbar ile uyumlu) */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Font Awesome icon'ları için font-family'yi koru */
.fas,
.far,
.fal,
.fab,
.fa,
[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Minimal custom styles - Bootstrap CDN handles most styling */

/* ============================================
   BREADCRUMB - Modern ve Minimal Tasarım
   ============================================ */

/* Breadcrumb Container - Hero Section Altında */
.breadcrumb-modern-wrapper {
    padding: 1.25rem 0;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0.98) 0%, rgba(13, 110, 253, 0.92) 100%);
    position: relative;
    overflow: hidden;
}

.breadcrumb-modern-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Breadcrumb List */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Breadcrumb Item (Sadece genel wrapper için) */
.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Separator - Modern Chevron Icon (Sadece genel wrapper için) */
.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 4L10 8L6 12' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item:not(:last-child):hover::after {
    opacity: 1;
    transform: translateX(2px);
}

/* Breadcrumb Links - Glassmorphism Effect (Sadece genel wrapper için) */
.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item a i {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Active Breadcrumb Item (Sadece genel wrapper için) */
.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* İlk breadcrumb item (Ana Sayfa) - Özel stil (Sadece genel wrapper için) */
.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item:first-child a {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.breadcrumb-modern-wrapper .breadcrumb-modern .breadcrumb-item:first-child a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ============================================
   BREADCRUMB - Profesyonel Yerleşim (Hero Altı)
   Hero ile Uyumlu Merkezi Tasarım
   ============================================ */

/* Profesyonel Breadcrumb Wrapper - Hero Sonrası */
.breadcrumb-professional-wrapper {
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    /* Wave ile birleşik görünüm */
    z-index: 5;
    width: 100%;
}

/* Gradient Hero için - Hero ile Uyumlu - Solid Arka Plan */
.breadcrumb-professional-wrapper.breadcrumb-variant-default {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 50%, #0d6efd 100%);
    background-size: 200% 200%;
    animation: breadcrumbGradientShift 6s ease infinite;
}

@keyframes breadcrumbGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Grid Pattern Overlay - Hero ile Aynı */
.breadcrumb-professional-wrapper.breadcrumb-variant-default::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
}

/* Subtle Floating Blobs - Hero ile Uyumlu */
.breadcrumb-professional-wrapper.breadcrumb-variant-default::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(40px);
    transform: translateY(-50%);
    animation: breadcrumbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes breadcrumbFloat {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-50%) translateX(20px);
        opacity: 0.5;
    }
}

/* Light Hero için - Hero ile Uyumlu */
.breadcrumb-professional-wrapper.breadcrumb-variant-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.03);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 110, 253, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

/* Breadcrumb Container - Merkezi ve Tutarlı */
.breadcrumb-professional-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.breadcrumb-professional-wrapper .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.breadcrumb-professional-wrapper .breadcrumb-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

/* Professional wrapper içindeki breadcrumb item'ları - Merkezi ve Tutarlı */
.breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    /* Şeffaf arka planları ve backdrop-filter'ı kaldır */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item.active {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    /* Şeffaf arka planları ve backdrop-filter'ı kaldır */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item.active span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Light Variant için renkler - Hero ile Uyumlu */
.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 4L10 8L6 12' stroke='rgba(13,110,253,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item:not(:last-child):hover::after {
    opacity: 0.9;
    transform: translateX(2px);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item {
    color: #212529;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item a {
    color: #212529 !important;
    background: rgba(13, 110, 253, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item a:hover {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.18);
    border-color: rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item.active {
    color: #0d6efd !important;
    background: rgba(13, 110, 253, 0.2);
    border: 1px solid rgba(13, 110, 253, 0.4);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item.active span {
    color: #0d6efd !important;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item a i,
.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item.active i {
    color: inherit;
    opacity: 1;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-light .breadcrumb-modern .breadcrumb-item.active::before {
    background: linear-gradient(180deg, #0d6efd 0%, rgba(13, 110, 253, 0.6) 100%);
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.3);
}

/* Default Variant için (Gradient Hero) - Okunabilir Solid Tasarım */
.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item {
    color: #ffffff;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 4L10 8L6 12' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item:not(:last-child):hover::after {
    opacity: 1;
    transform: translateX(2px);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item.active span {
    color: #ffffff !important;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item a i,
.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item.active i {
    color: #ffffff !important;
    opacity: 1;
}

.breadcrumb-professional-wrapper.breadcrumb-variant-default .breadcrumb-modern .breadcrumb-item.active::before {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Geniş Ekranlar için */
@media (min-width: 1200px) {
    .breadcrumb-professional-wrapper {
        padding: 1.25rem 0;
    }
}

@media (min-width: 1400px) {
    .breadcrumb-professional-wrapper {
        padding: 1.5rem 0;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .breadcrumb-professional-wrapper {
        padding: 0.75rem 0;
    }

    .breadcrumb-professional-wrapper.breadcrumb-variant-default::after {
        display: none;
        /* Mobilde performans için gizle */
    }

    .breadcrumb-professional-wrapper .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .breadcrumb-professional-wrapper .breadcrumb-modern {
        gap: 0.375rem;
        justify-content: center;
    }

    .breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item {
        font-size: 0.8125rem;
    }

    .breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
        width: 12px;
        height: 12px;
        margin: 0 0.375rem;
    }

    .breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item a,
    .breadcrumb-professional-wrapper .breadcrumb-modern .breadcrumb-item.active {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .breadcrumb-modern-wrapper {
        padding: 1rem 0;
    }

    .hero-breadcrumb-wrapper {
        margin-bottom: 0.75rem;
    }

    .breadcrumb-modern {
        gap: 0.375rem;
    }

    .breadcrumb-modern .breadcrumb-item {
        font-size: 0.8125rem;
    }

    .breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
        width: 12px;
        height: 12px;
        margin: 0 0.375rem;
    }

    .breadcrumb-modern .breadcrumb-item a {
        padding: 0.375rem 0.75rem;
        gap: 0.375rem;
        font-size: 0.8125rem;
    }

    .breadcrumb-modern .breadcrumb-item.active {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    /* Mobilde tüm metinler görünsün */
    .breadcrumb-modern .breadcrumb-item a .long-text,
    .breadcrumb-modern .breadcrumb-item.active .long-text {
        display: inline;
    }

    .breadcrumb-modern .breadcrumb-item a .short-text,
    .breadcrumb-modern .breadcrumb-item.active .short-text {
        display: none;
    }
}

/* ============================================
   APP KLASÖRÜ SAYFALARI İÇİN NAVBAR BOŞLUK
   ============================================ */

/* App klasöründeki sayfalar için mainContent'e üstten ve alttan boşluk ekle */
/* Navbar sticky-top olduğu için içerik navbar'ın altında kalıyor */
body.app-page #mainContent {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* Ana sayfa ve içerik sayfaları: hero navbar'a bitişik olsun, aradaki boşluk olmasın */
body.app-page #mainContent:has(> .hero-unified-wrapper.hero-homepage),
body.app-page #mainContent:has(> .hero-unified-wrapper.hero-content-page) {
    padding-top: 0;
}

/* Mobilde daha az boşluk */
@media (max-width: 768px) {
    body.app-page #mainContent {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
    body.app-page #mainContent:has(> .hero-unified-wrapper.hero-homepage),
    body.app-page #mainContent:has(> .hero-unified-wrapper.hero-content-page) {
        padding-top: 0;
    }
}

/* ============================================
   AUTH PAGES - Modern Glassmorphism Design
   ============================================ */

/* Main Auth Page Background */
.auth-page {
    min-height: calc(100vh - 80px);
    /* Navbar height correction */
    background-color: #fce4ec;
    /* Light Pink Base */
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 3rem 0;
    position: relative;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glassmorphism Card Container */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    padding: 3rem;
    transition: transform 0.3s ease;
    width: 100%;
}

/* Form Styles - Modern Floating Labels */
.auth-page .form-floating>.form-control {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.auth-page .form-floating>.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Modern Primary Button */
.auth-page .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Modern Secondary Button */
.auth-page .btn-secondary,
.auth-page .btn-outline-secondary {
    border-radius: 12px;
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-page .btn-secondary:hover,
.auth-page .btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Auth Header Icon */
.auth-icon-header {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Password Toggle & Input Icons */
.input-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Social Login Divider */
.social-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #64748b;
    font-size: 0.875rem;
}

.social-login-divider::before,
.social-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.social-login-divider span {
    padding: 0 1rem;
}

/* Success/Error Icon Wrappers */
.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    animation: scaleIn 0.5s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.icon-wrapper.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.icon-wrapper.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

/* Navbar Z-Index Fix */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1060 !important;
}

/* Offcanvas & Backdrop Z-Index Fix (Navbar'ın üstünde olması için) */
.offcanvas-backdrop {
    z-index: 1065 !important;
}

.offcanvas {
    z-index: 1070 !important;
}

/* ============================================
   REGISTER PAGE - Wizard Specific Styles
   ============================================ */
/* Glassmorphism Container for Wizard */
.wizard-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 500px;
}

/* Step 1: Selection Cards */
.selection-card {
    border: 2px solid transparent;
    /* Default border */
    border-radius: 16px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.selection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Customer Card */
.selection-card.customer:hover,
.selection-card.customer.selected {
    border-color: #3b82f6;
    background: linear-gradient(to bottom right, #eff6ff, #fff);
}

.selection-card.customer .icon-wrapper {
    background: #e0f2fe;
    color: #0284c7;
}

/* Supplier Card */
.selection-card.supplier:hover,
.selection-card.supplier.selected {
    border-color: #0f172a;
    background: linear-gradient(to bottom right, #f8fafc, #fff);
}

.selection-card.supplier .icon-wrapper {
    background: #e2e8f0;
    color: #0f172a;
}

/* Selection Icons - Specific to Wizard */
.selection-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Icon Hover Effect */
.selection-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Step 2: Form Styles */
.form-step {
    display: none;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Back Button */
.btn-back {
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.btn-back:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}

/* Progress Bar */
.wizard-progress {
    height: 4px;
    background: #e2e8f0;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.wizard-progress-bar {
    height: 100%;
    background: #3b82f6;
    width: 50%;
    transition: width 0.5s ease;
}

/* Responsive Wizard */
@media (max-width: 768px) {
    .wizard-container {
        border-radius: 0;
        min-height: 100vh;
        margin: -3rem -0.75rem;
    }
}

/* ============================================
   REGISTRATION SUCCESS - Checkmark Animation
   ============================================ */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0.1);
}

/* Sadece success-checkmark içindeki check-icon için animasyon (kayıt başarı vb.) */
.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
    background: #fff;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #fff;
    transform: rotate(-45deg);
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

/* Tedarikçi talepler: dokunmatik hedef (mobil a11y) */
.min-touch-target {
    min-height: 44px;
    min-width: 44px;
    padding: 0.35rem 0.65rem;
}
@media (min-width: 768px) {
    .min-touch-target { min-width: 0; }
}

/* CTA Üyelik kartı - public/fiyat-teklifi-al.php */
.cta-register-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
}
.cta-register-card .card-body,
.cta-register-card .cta-register-card__title,
.cta-register-card .cta-register-card__text {
    color: #fff;
}
.cta-register-card .cta-register-card__text {
    opacity: 0.95;
}
.cta-register-card .cta-register-card__btn {
    background: #fff;
    color: #0a58ca;
    border: 1px solid rgba(255, 255, 255, 0.9);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.cta-register-card .cta-register-card__btn:hover {
    background: #f8f9fa;
    color: #0a58ca;
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Anasayfa Premium Sponsorlarımız — logo alanı ve kart yerleşimi */
.sponsor-icon-platinum {
    color: #6c757d;
}
.sponsor-card.platinum-card,
.sponsor-card.sponsor-card--platinum {
    border: 1px solid rgba(108, 117, 125, 0.2);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}
.sponsor-card.sponsor-card--gold {
    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: 0 0.25rem 0.65rem rgba(255, 193, 7, 0.12);
}
.sponsor-card.sponsor-card--silver {
    border: 1px solid rgba(108, 117, 125, 0.2);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
}
.sponsor-card.sponsor-card--bronze,
.sponsor-card.sponsor-card--partner {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.04);
}
.sponsor-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.sponsor-logo-container-small {
    height: 88px;
    flex-shrink: 0;
}
.sponsor-logo-container--lg {
    height: 120px;
    flex-shrink: 0;
}
.sponsor-logo-container--lg .sponsor-logo {
    max-height: 120px;
}
.sponsor-logo-container--md {
    height: 96px;
    flex-shrink: 0;
}
.sponsor-logo-container--md .sponsor-logo {
    max-height: 96px;
}
.sponsor-logo-container--sm {
    height: 72px;
    flex-shrink: 0;
}
.sponsor-logo-container--sm .sponsor-logo {
    max-height: 72px;
}
.sponsor-logo {
    display: block;
    max-height: 88px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}
.sponsor-logo-clickable {
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
}
.sponsor-description-small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}
.sponsor-badge.platinum-badge.sponsor-btn-small {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, #495057 0%, #212529 100%);
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
.sponsor-badge.gold-badge.sponsor-btn-small {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #3d2c00;
    background: linear-gradient(135deg, #ffe082 0%, #ffc107 55%, #e0a800 100%);
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
.sponsor-badge.silver-badge.sponsor-btn-small {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, #868e96 0%, #495057 100%);
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
.sponsor-badge.bronze-badge.sponsor-btn-small {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, #a0522d 0%, #6d4c41 100%);
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
.sponsor-badge.partner-badge.sponsor-btn-small {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}
.sponsor-card .mt-auto.d-flex {
    flex-wrap: wrap;
    width: 100%;
}
.sponsor-card .mt-auto.d-flex .btn {
    min-width: 0;
}
@media (max-width: 767.98px) {
    .sponsor-card .mt-auto.d-flex .btn.flex-fill {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* ============================================
   ANA SAYFA — Referanslarımız (4 tam + sol/sağ yarım ≈ 5 slot, navbar ile aynı container)
   ============================================ */
.references-marquee-section {
    --references-marquee-gap: 1rem;
    overflow-x: clip;
}

.references-marquee__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

/* İki kopya + translateX(-50%): görünür başa sıçrama yok, sürekli sola akış */
.references-marquee__viewport--loop {
    overflow-x: hidden;
    overflow-y: hidden;
    cursor: default;
    touch-action: pan-y;
}

.references-marquee__viewport--loop::-webkit-scrollbar {
    display: none;
}

.references-marquee__viewport--loop:hover .references-marquee__track,
.references-marquee__viewport--loop:focus-within .references-marquee__track {
    animation-play-state: paused;
}

.references-marquee__viewport::-webkit-scrollbar {
    display: none;
}

.references-marquee__viewport:active {
    cursor: grabbing;
}

.references-marquee__viewport--loop:active {
    cursor: default;
}

.references-marquee__track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: var(--references-marquee-gap);
    width: max-content;
    padding-left: calc(var(--ref-card-w, 160px) / 2);
    padding-right: calc(var(--ref-card-w, 160px) / 2);
    box-sizing: content-box;
}

.references-marquee__viewport--loop .references-marquee__track {
    animation: references-marquee-seamless var(--ref-marquee-dur, 45s) linear infinite;
    will-change: transform;
}

@keyframes references-marquee-seamless {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.references-marquee__track > .references-marquee__item:first-child {
    margin-left: calc(-1 * var(--ref-card-w, 160px) / 2);
}

.references-marquee__track > .references-marquee__item:last-child {
    margin-right: calc(-1 * var(--ref-card-w, 160px) / 2);
}

.references-marquee__item {
    flex: 0 0 var(--ref-card-w, 160px);
    width: var(--ref-card-w, 160px);
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.references-marquee__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.references-marquee__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 6.5rem;
    height: 3.75rem;
    flex-shrink: 0;
}

.references-marquee__logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.references-marquee__name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.references-marquee-cta {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.references-marquee-cta__inner {
    max-width: 36rem;
    padding: 0.25rem 0.5rem 0.5rem;
}

.references-marquee-cta__icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    color: #0d6efd;
    background: linear-gradient(145deg, rgba(13, 110, 253, 0.12) 0%, rgba(13, 110, 253, 0.06) 100%);
    border: 1px solid rgba(13, 110, 253, 0.15);
}

.references-marquee-cta__lead {
    font-size: 1.05rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .references-marquee-cta__lead {
        font-size: 1.15rem;
    }
}

.references-marquee-cta__btn {
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.references-marquee-cta__btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.35);
}

.references-marquee-cta__btn:focus-visible {
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .references-marquee-cta__btn:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .references-marquee-section {
        --references-marquee-gap: 0.65rem;
    }

    .references-marquee__item {
        padding: 0.5rem 0.5rem;
    }

    .references-marquee__logo-wrap {
        height: 3.25rem;
        max-width: 5.25rem;
    }

    .references-marquee__name {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .references-marquee__viewport {
        scroll-behavior: auto;
        scrollbar-width: thin;
    }

    .references-marquee__viewport::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .references-marquee__viewport--loop {
        overflow-x: auto;
        cursor: grab;
        touch-action: pan-x;
    }

    .references-marquee__viewport--loop .references-marquee__track {
        animation: none;
        transform: none;
        will-change: auto;
    }

    .references-marquee__item {
        transition: none;
    }

    .references-marquee__item:hover {
        transform: none;
    }
}

/* ============================================
   CTA şeridi — .abstract-bg (PHP’de kullanılıyordu; tanımsızken text-white okunmuyordu)
   Koyu degrade: WCAG AA için açık mavi durakları sınırlı tutuldu (#052c65 / #084298 ağırlıklı).
   ============================================ */
.abstract-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #052c65 0%, #084298 42%, #0d6efd 78%, #052c65 100%);
    color: #fff;
}

.abstract-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 45%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, 22px 22px, 22px 22px;
}

.abstract-bg > .container {
    position: relative;
    z-index: 1;
}