/* ========================================
   TOBFED İş Arama Platformu - Ana Stil Dosyası
   ======================================== */

/* Tailwind CSS CDN kullanılıyor - Bu dosya özel stiller için */

/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    /* Renkler */
    --primary: #111827;
    --secondary: rgba(0, 61, 127, 1);
    --card-bg: #EEEEEE;
    --background: #F5F5F5;
    --white: #FFFFFF;
    --black: #111827;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    /* Font Family */
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --bg-main: rgb(249 250 251 / var(--tw-bg-opacity, 1));
    --bg-card: #FFFFFF;
    --text-main: #111827;
    --text-muted: #666666;
    --text-disabled: #A1A1AA;
    --border-color: #d1d5db;
    --border-hover: #111827;
    --border-card-color: #e5e7eb;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary) !important;
    background-color: var(--background);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.3;
}

h3 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.4;
}

p,
span,
a,
li {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.icon-sm {
    font-size: 18px;
}

.icon-md {
    font-size: 24px;
}

.icon-lg {
    font-size: 32px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-register {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--primary);
}

.btn-success {
    background-color: var(--success);
    color: var(--white);
}

.btn-warning {
    background-color: var(--warning);
    color: var(--black);
}

.btn-error {
    background-color: var(--error);
    color: var(--white);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-card-color);
    box-shadow: var(--shadow-sm);
}

    .card:hover {
        transform: translateY(-4px);
    }

.card-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--black);
}

/* ========================================
   INPUTS & FORMS
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: .5rem;
}

.form-input {
    width: 100%;
    padding: .75rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xs);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

    .form-input:focus {
        border-color: var(--border-hover) !important;
        outline: 2px solid transparent !important;
        outline-offset: 2px !important;
        box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1) !important;
    }

.form-select {
    width: 100%;
    padding: .75rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xs);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-textarea {
    width: 100%;
    padding: .75rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-xs);
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    min-height: 80px !important;
}

input:disabled {
    background-color: #f3f4f6;
    /* gray-100 */
    color: #6b7280;
    /* gray-500 */
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .navbar-link:hover {
        color: var(--primary);
    }

/* ========================================
   BADGES & TAGS
   ======================================== */
/*.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .375rem .75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #F3F4F6;
  color: #4B5563;
  font-size: 0.75rem;
  line-height: 1rem;

}

.badge-success {
    background-color: #ECFDF5;*/
/* bg-green-50 */
/*color: #047857;*/
/* text-green-700 */
/*border-color: #BBF7D0;*/
/* border-green-200 */
/*}*/

/* Reddedildi */
/*.badge-error {
    background-color: #FEF2F2;*/
/* bg-red-50 */
/*color: #B91C1C;*/
/* text-red-700 */
/*border-color: #FECACA;*/
/* border-red-200 */
/*}*/

/* Beklemede */
/*.badge-warning {
    background-color: #FFFBEB;*/
/* bg-amber-50 */
/*color: #B45309;*/
/* text-amber-700 */
/*border-color: #FDE68A;*/
/* border-amber-200 */
/*}*/

/* İnceleniyor */
/*.badge-primary {
    background-color: #EFF6FF;*/
/* bg-blue-50 */
/*color: #1D4ED8;*/
/* text-blue-700 */
/*border-color: #BFDBFE;*/
/* border-blue-200 */
/*}*/

/* İstersen nötr secondary */
/*.badge-secondary {
    background-color: #F3F4F6;
    color: #374151;
    border-color: #E5E7EB;
}*/

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-error {
    color: var(--error);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-card {
    background-color: var(--card-bg);
}

.bg-white {
    background-color: var(--white);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* ========================================
   LOADER / SPINNER
   ======================================== */
.loader {
    border: 3px solid rgba(0, 151, 231, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.loader-sm {
    border: 2px solid rgba(0, 151, 231, 0.1);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        gap: 16px;
    }

    .card {
        padding: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .footer,
    .btn,
    .no-print,
    .cv-actions {
        display: none !important;
    }

    html, body, .bg-background {
        background-color: white !important;
        background: white !important;
    }

    /* Force print layouts to take full width and disable grid columns */
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .grid {
        display: block !important;
    }

    .lg\:col-span-1, .print\:hidden {
        display: none !important;
    }

    .lg\:col-span-3, .lg\:col-span-4 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .cv-container {
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
    }
}

@page {
    margin: 15mm;
    size: A4 portrait;
}

.slider {
    background: rgba(0, 61, 127, 1) !important;
}

    .slider .quick .text-center {
        position: relative;
    }

        .slider .quick .text-center:not(:last-child)::after {
            content: '';
            position: absolute;
            width: 1px;
            height: 20px;
            top: 50%;
            right: 0;
            margin-top: -10px;
            background: #fff;
        }

.to-blue {
    background: rgba(0, 61, 127, 1);
}

.bg-black {
    background-color: #000000 !important;
}

.bg-gray {
    background-color: #262626 !important;
}

.text-white {
    color: #fff !important;
}

.text-secondary {
    color: #595959 !important;
}

.justify-self-center {
    justify-self: center;
}

.align-items-center {
    align-items: center !important;
}

.bg-background {
    background-color: var(--bg-main) !important;
}

.section-padding {
    padding: 60px 0;
}

.brand-carousel {
    background: #eee;
    margin-top: 10%;
}

.owl-dots {
    text-align: center;
}

.owl-dot {
    display: inline-block;
    height: 15px !important;
    width: 15px !important;
    background-color: #222222 !important;
    opacity: 0.8;
    border-radius: 50%;
    margin: 0 5px;
}

    .owl-dot.active {
        background-color: #FF170F !important;
    }



/* ignore the code below */


.link-area {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 15px;
    border-radius: 40px;
    background: tomato;
}

    .link-area a {
        text-decoration: none;
        color: #fff;
        font-size: 25px;
    }

@keyframes slider-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slider-track {
    display: flex;
    width: max-content;
    animation: slider-scroll 35s linear infinite;
    will-change: transform;
}

.group:hover .slider-track {
    animation-play-state: paused;
}


.categories-list .waves {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.2);
    transition: all 0.45s ease-out;
}

.categories-list .group:hover .waves {
    opacity: 1;
    transform: scale(1.8);
}

.categories-list .badge {
    color: #1d4ed8;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: rgba(37, 99, 235, .2);
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px !important;
    text-align: center;
    display: inline-block;
}


.custom-nav {
    width: 34px;
    height: 34px;
    background: #262626;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    transition: 0.2s ease;
}

    /* Hover */
    .custom-nav:hover {
        background: #000;
    }

/* Sol ok */
.custom-prev {
    left: -50px;
    /* dışa taşıma */
}

/* Sağ ok */
.custom-next {
    right: -50px;
    /* dışa taşıma */
}


/* En önemlisi: taşmayı kesin olarak engelle */
.job-swiper {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .custom-nav {
        display: none !important;
    }
}

/* Material Icons boyutu */
.custom-nav .material-icons {
    font-size: 20px;
}

.custom-nav {
    top: 43%;
    transform: translateY(-50%);
}

.navbar-link.active {
    color: #0097E7 !important;
    font-weight: 600;
}

/* Pageloader */

#page-loader {
    z-index: 999999999999;
}

    #page-loader svg path {
        fill: #ffffff;
        stroke: #ffffff;
        stroke-width: 2;
        stroke-dasharray: 2000;
        stroke-dashoffset: 2000;
        animation: draw 2s ease-in-out forwards;
    }

@keyframes draw {
    0% {
        stroke-dashoffset: 2000;
        fill-opacity: 0;
    }

    70% {
        stroke-dashoffset: 0;
        fill-opacity: 0;
    }

    100% {
        stroke-dashoffset: 0;
        fill-opacity: 1;
        stroke-width: 0;
    }
}


/* =========================
   FLAT + TAILWIND TOASTR
========================= */

#toast-container > .toast {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Code Input Styles */
.code-input {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: white;
}

    .code-input:focus {
        outline: none;
        border-color: #0097E7;
        box-shadow: 0 0 0 3px rgba(0, 151, 231, 0.1);
    }

    .code-input:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
    }

/* Timer Styles */
.timer-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 4px solid #0097E7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0097E7;
    position: relative;
    background: white;
}

    .timer-circle.warning {
        border-color: #FFC107;
        color: #FFC107;
    }

    .timer-circle.danger {
        border-color: #F44336;
        color: #F44336;
        animation: pulse 1s infinite;
    }

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    animation: successPulse 0.6s ease-out;
}

@media (max-width: 576px) {
    .code-input {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }

    .timer-circle {
        width: 4rem;
        height: 4rem;
        font-size: 1.25rem;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-scaleIn {
    animation: scaleIn .25s ease-out;
}

.d-none {
    display: none !important;
}

#sidebar {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card-color);
}


/* --- Price Display --- */
.price-display {
    display: inline;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.price-currency {
    color: inherit;
    opacity: 0.5;
    font-weight: 400;
    font-size: 0.8em;
    vertical-align: baseline;
    margin-right: 4px;
}

.price-amount {
    color: inherit;
    font-weight: 700;
    font-size: 1em;
    margin-right: -8px;
    margin-left: -8px;
}

.price-decimal {
    color: inherit;
    opacity: 0.5;
    font-weight: 400;
    font-size: 0.65em;
    vertical-align: baseline;
    margin-left: 2px;
}

/* ========================================
   CKEDITOR & RICH TEXT LIST STYLES
   ======================================== */
.ck-content ul,
.rich-text-content ul {
    list-style-type: disc !important;
    margin-left: 1.5rem !important;
    padding-left: 0.5rem !important;
}

.ck-content ol,
.rich-text-content ol {
    list-style-type: decimal !important;
    margin-left: 1.5rem !important;
    padding-left: 0.5rem !important;
}

.ck-content li,
.rich-text-content li {
    display: list-item !important;
    margin-bottom: 0.25rem !important;
}

/* Ensure editor content is visible even if empty */
.ck-editor__editable_inline {
    min-height: 200px;
}

.ck.ck-editor__editable {
    width: 100%;
    /* w-full */
    padding: 0.75rem 1rem;
    /* py-3 px-4 */
    border: 1px solid #D1D5DB;
    /* border-gray-300 */
    border-radius: 0.5rem;
    /* rounded */
    outline: none;
    /* outline-none */
    transition: all 0.2s;
    /* transition-all */
}

    .ck.ck-editor__editable:focus,
    .ck.ck-editor__editable.ck-focused {
        border-color: #111827 !important;
        /* focus:border-gray-900 */
        box-shadow: 0 0 0 0.25rem rgba(17, 24, 39, 0.1);
        /* focus:ring-4 focus:ring-gray-900/10 */
    }

/* ========================================
   NOTIFICATION STYLES
   ======================================== */
.notification-dropdown {
    width: 320px;
    max-height: 480px;
    overflow: hidden;
    /* So children like list can scroll but outer stays clean */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    border-radius: 0.75rem;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.75rem;
    z-index: 9999;
}

#notificationList {
    max-height: 350px;
    overflow-y: auto;
}

/* Ensure parents don't clip the dropdown */
.relative:has(> .notification-dropdown) {
    position: relative !important;
    overflow: visible !important;
}

nav:has(.notification-dropdown) {
    overflow: visible !important;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
    cursor: pointer;
    position: relative;
}

    .notification-item:hover {
        background-color: #f9fafb;
    }

    .notification-item.unread {
        background-color: #eff6ff;
    }

        .notification-item.unread::before {
            content: '';
            position: absolute;
            left: 4px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background-color: #3b82f6;
            border-radius: 50%;
        }

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 9999px;
    background-color: #ef4444;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
    transform: translate(25%, -25%);
}

.bg-brand-primary {
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
    --tw-bg-opacity: 1;
}

.bg-brand-secondary {
    background-color: rgba(0, 61, 127, 1) !important;
    --tw-bg-opacity: 1;
}

.tobfed-backgraund {
    background: linear-gradient(135deg, #023173, #034a9e);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem; /* ok ile yazı çakışmasın */
    cursor: pointer;
}


@media print {

    html, body {
        background: #ffffff !important;
    }

    #mainContent,
    .cv-container {
        background: #ffffff !important;
    }

    * {
        box-shadow: none !important;
    }
}