﻿/* ========================================
   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');

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    /* Renkler */
    --primary: #262626;
    --secondary: #6B7C8C;
    --card-bg: #EEEEEE;
    --background: #F5F5F5;
    --white: #FFFFFF;
    --black: #333333;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    /* Font Family */
    --font-primary: 'poppins', 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-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    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);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    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-color: transparent;
    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-lg);
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .card:hover {
        transform: translateY(-4px);
    }

.card-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--card-bg);
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--black);
}

/* ========================================
   INPUTS & FORMS
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--black);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 151, 231, 0.1);
    }

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
}
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;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background-color: rgba(0, 151, 231, 0.1);
    color: var(--primary);
}

.badge-secondary {
    background-color: #a6a6a6;
    color: var(--white);
}

.badge-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.badge-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #d39e00;
}

.badge-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error);
}

/* ========================================
   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;
}

@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 {
        display: none !important;
    }
}

.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: #f2f2f2 !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 {
    animation: slider-scroll 30s linear infinite;
}

.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 > div {
    padding: 14px 18px;
    border-radius: 4px; /* normalde biraz daha yumuşak */
    box-shadow: none !important; /* shadow KAPALI */
    background-image: none !important;
    font-family: inherit;
    opacity: 1;
    margin-bottom: 12px;
    transition: border-radius 0.15s ease, filter 0.15s ease;
}

    /* Hover → radius 8px */
    #toast-container > div:hover {
        border-radius: 4px;
        filter: brightness(0.97);
    }

/* Başlık */
#toast-container .toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.95); /* arka plana göre uyumlu */
}

/* İçerik */
#toast-container .toast-message {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9); /* arka plana göre uyumlu */
}

/* SUCCESS */
.toast-success {
    background-color: rgb(34 197 94); /* green-500 */
}

/* INFO */
.toast-info {
    background-color: rgb(59 130 246); /* blue-500 */
}

/* WARNING */
.toast-warning {
    background-color: rgb(245 158 11); /* amber-500 */
}

/* ERROR */
.toast-error {
    background-color: rgb(239 68 68); /* red-500 */
}

/* Close button – sade */
.toast-close-button {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    font-size: 16px;
}

    .toast-close-button:hover {
        color: #fff;
    }

/* Progress bar – flat */
.toast-progress {
    height: 2px;
    opacity: 0.6;
}

/* 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;
}