
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --background: #FAFAF9;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --main-font: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f1ed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

header {
    background-color: transparent;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.75rem 0;
}

header .container {
    max-width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 0;
}

.header-icon,
.user-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
    text-decoration: none;
}

.header-icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.user-icon {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

.user-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

main {
    flex: 1;
    padding: 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: var(--card-background);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.card-icon svg {
    width: 64px;
    height: 64px;
}

.card h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dropdown-container {
    width: 100%;
    position: relative;
}

.dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow {
    transition: transform 0.3s;
    margin-left: 0.5rem;
}

.dropdown-btn.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--card-background);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.dropdown-menu.show {
    max-height: 300px;
    opacity: 1;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--background);
}

.item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dropdown-item div {
    text-align: left;
}

.dropdown-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.dropdown-item small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.calculation-page {
    padding: 0rem 0;
    min-height: calc(100vh - 150px);
}

.calculation-page main {
    padding: 0;
    display: block;
    align-items: unset;
}

.calculation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

.steps-sidebar {
    background: #d1d5db;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.steps-sidebar h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-item {
    background: #6b7280;
    color: white;
    padding: 0.75rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-item:hover {
    background: #4b5563;
}

.step-item.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.step-number {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    width: 24px;
    flex-shrink: 0;
}

.step-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-checkbox i {
    font-size: 0.75rem;
    opacity: 0;
}

.step-item.active .step-checkbox i {
    opacity: 1;
}

.step-item span {
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    line-height: 1.2;
}

.form-content {
    background: #e2e8f0;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.form-header-bar {
    background: #6b7280;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-header-bar h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.icon-btn.green {
    background-color: #10b981;
}

.icon-btn.green:hover {
    background-color: #059669;
}

.icon-btn.blue {
    background-color: #3b82f6;
}

.icon-btn.blue:hover {
    background-color: #2563eb;
}

.icon-btn.yellow {
    background-color: #f59e0b;
}

.icon-btn.yellow:hover {
    background-color: #d97706;
}

.icon-btn.red {
    background-color: #ef4444;
}

.icon-btn.red:hover {
    background-color: #dc2626;
}

.form-section-content {
    padding: 1rem 1.5rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.info-box {
    background: #fef3c7;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #fde68a;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-row-inline {
    margin-bottom: 0;
}

.form-row-inline.separator {
    margin-bottom: 1rem;
}

.form-group.inline {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 1.5rem;
    background: #d1d5db;
    padding: 0.65rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid #e0f2fe;
}

.form-group.inline > label:first-child {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group.inline:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.form-row-inline.separator .form-group.inline {
    border-bottom: none;
}

.form-row-inline.separator .form-group.inline:last-of-type {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.form-row-inline.separator {
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.inline-inputs {
    display: flex;
    gap: 0.5rem;
}

.form-control {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.value-display {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

.toggle-slider {
    width: 40px;
    height: 22px;
    background-color: #cbd5e1;
    border-radius: 11px;
    position: relative;
    transition: all 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #3b82f6;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(18px);
}

.toggle-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-row-triple {
    margin-bottom: 1rem;
}

.form-group.triple {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 1rem;
    background: #d1d5db;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
}

.form-group.triple label {
    font-weight: 600;
    color: #1e40af;
    font-size: 0.95rem;
}

.section-header {
    background: #cffafe;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.section-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.total-box {
    background: #d1d5db;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.total-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.total-value {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.form-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: none;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-prev,
.btn-calculate,
.btn-next {
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-prev {
    background-color: #6b7280;
    color: white;
}

.btn-prev:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

.btn-calculate {
    background-color: #10b981;
    color: white;
}

.btn-calculate:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-next {
    background-color: #3b82f6;
    color: white;
}

.btn-next:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

footer {
    background-color: var(--card-background);
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

footer p {
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .calculation-container {
        grid-template-columns: 1fr;
    }

    .steps-sidebar {
        position: static;
    }

    .step-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .form-group.inline,
    .form-group.triple {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    main {
        padding: 2rem 0;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .card {
        padding: 2rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
    }

    .card-icon svg {
        width: 48px;
        height: 48px;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .header-icons {
        gap: 0.5rem;
    }

    .calculation-container {
        padding: 0 1rem;
    }

    .form-section-content {
        padding: 1rem 1.5rem;
    }

    .form-header-bar {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo img {
        height: 30px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 1rem;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 150px;
}

.header-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.header-select option {
    color: var(--text-primary);
    background: white;
}

.navbar-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem;
    background: #0a4771;
    border-radius: 3rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.nav-step {
    background: transparent;
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-step.active {
    background: #badbee;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculation-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.calculation-page .form-content {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .navbar-container {
        max-width: 95%;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        border-radius: 1rem;
        padding: 0.5rem;
    }

    .nav-step {
        text-align: center;
        padding: 0.875rem 1rem;
    }

    .steps-navbar {
        padding: 1rem 0;
    }
}

.yearly-table {
    margin: 1rem 0;
}

.yearly-header {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px 120px 200px;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #3b82f6;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem 0.5rem 0 0;
}

.yearly-row {
    display: grid;
    grid-template-columns: 120px 1fr 150px 120px 120px 200px;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.yearly-row:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.col-month {
    font-weight: 500;
}

.yearly-row .form-control {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.yearly-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.yearly-header .col-gun-sayisi,
.yearly-row .col-gun-sayisi {
    grid-column: span 1;
}

.yearly-header-sgk,
.yearly-row-sgk {
    grid-template-columns: 120px 2fr 150px 80px 80px;
}

.yearly-header-sigorta,
.yearly-row-sigorta {
    grid-template-columns: 120px 1fr 1fr 1fr 1fr;
}

.yearly-header-fm,
.yearly-row-fm {
    grid-template-columns: 120px 1fr 1fr 1fr;
}

.yearly-header .col-gun-sayisi,
.yearly-row .col-gun-sayisi,
.yearly-header .col-calisilan,
.yearly-row .col-calisilan,
.yearly-header .col-eksik,
.yearly-row .col-eksik {
    grid-column: span 1;
}

.yearly-header-calisma,
.yearly-row-calisma {
    grid-template-columns: 120px 200px 200px 200px;
}

.form-row-yearly-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    background: #ecfeff;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.yearly-top-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.yearly-top-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.yearly-top-group .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .form-row-yearly-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row-yearly-top {
        grid-template-columns: 1fr;
    }
}

.yearly-info-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    background: #ecfeff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.yearly-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.yearly-info-item label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .yearly-info-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tazminat-page {
    padding: 1.5rem 2rem;
    background: #f8f1ed;
    min-height: calc(100vh - 120px);
}

.action-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.action-select {
    flex: 0 0 250px;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: white;
    font-size: 0.9rem;
}

.action-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 1.1rem;
}

.action-btn-large {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.action-btn.green, .action-btn-large.green {
    background-color: #10b981;
}

.action-btn.green:hover, .action-btn-large.green:hover {
    background-color: #059669;
}

.action-btn.blue {
    background-color: #3b82f6;
}

.action-btn.blue:hover {
    background-color: #2563eb;
}

.action-btn.cyan {
    background-color: #06b6d4;
}

.action-btn.cyan:hover {
    background-color: #0891b2;
}

.action-btn.red, .action-btn-large.red {
    background-color: #ef4444;
}

.action-btn.red:hover, .action-btn-large.red:hover {
    background-color: #dc2626;
}

.tazminat-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: #06b6d4;
    border-radius: 0.75rem;
    overflow: hidden;
}

.card-title {
    background: #0891b2;
    color: white;
    padding: 0.875rem 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-content {
    background: #cffafe;
    padding: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.three-col-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.three-col-row:last-child {
    margin-bottom: 0;
}

.col-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.col-item label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #a5f3fc;
}

.param-row:last-child {
    border-bottom: none;
}

.param-row > label:first-child {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.result-title {
    background: #3b82f6;
    color: white;
    padding: 0.875rem 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table thead {
    background: #dbeafe;
}

.result-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    border-bottom: 2px solid #3b82f6;
}

.result-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.result-table tbody tr:last-child td {
    border-bottom: none;
}

.totals-content {
    padding: 1.25rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.total-row:last-child {
    border-bottom: none;
}

.total-row.final {
    background: #dbeafe;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    border-bottom: none;
}

.total-row span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.total-row strong {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.total-row.final strong {
    font-size: 1.15rem;
    color: #2563eb;
}

@media (max-width: 1200px) {
    .tazminat-container {
        grid-template-columns: 1fr;
    }

    .three-col-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tazminat-page {
        padding: 1rem;
    }

    .action-bar {
        flex-wrap: wrap;
    }

    .action-select {
        flex: 1 1 100%;
    }
}

.result-table .total-row-table {
    background: #f1f5f9;
    font-weight: 600;
}

.result-table .total-row-table td {
    padding: 1rem 0.75rem;
    border-top: 2px solid #3b82f6;
}

.result-display {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.result-section {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.result-section h4 {
    margin: 0 0 0.75rem 0;
    color: #334155;
    font-size: 1.1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

.result-item.highlight {
    background: #eff6ff;
    border-color: #3b82f6;
}

.result-label {
    color: #64748b;
    font-size: 0.9rem;
}

.result-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ================================================
   RESPONSIVE STYLES - TÜM CİHAZLAR
   ================================================ */

/* ----- YILLIK TABLOLAR İÇİN YATAY SCROLL WRAPPER ----- */
.yearly-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.yearly-table {
    min-width: 800px;
}

/* ----- 1200px - KÜÇÜK DESKTOP ----- */
@media (max-width: 1200px) {
    .calculation-container-new {
        padding: 0 1rem;
    }

    .yearly-header,
    .yearly-row {
        grid-template-columns: 100px 1fr 130px 100px 100px 180px;
        gap: 0.35rem;
        padding: 0.5rem 0.75rem;
    }

    .yearly-header-sgk,
    .yearly-row-sgk {
        grid-template-columns: 100px 1.5fr 130px 70px 70px;
    }

    .yearly-header-sigorta,
    .yearly-row-sigorta {
        grid-template-columns: 100px 1fr 1fr 1fr 1fr;
    }

    .yearly-header-calisma,
    .yearly-row-calisma {
        grid-template-columns: 100px 180px 180px 180px;
    }

    .yearly-header-fm,
    .yearly-row-fm {
        grid-template-columns: 100px 1fr 1fr 1fr;
    }
}

/* ----- 1024px - TABLET YATAY ----- */
@media (max-width: 1024px) {
    header .container {
        padding: 0 1.5rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

    .navbar-container {
        max-width: 100%;
        padding: 0.5rem;
    }

    .nav-step {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* Yıllık hesaplama - tablolar için minimum genişlik */
    .yearly-table {
        min-width: 750px;
    }

    .yearly-header,
    .yearly-row {
        font-size: 0.85rem;
    }

    .yearly-row .form-control {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    /* Sonuç alanı */
    #sonuc-alani > div {
        padding: 15px;
    }

    #yillik-ozet {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ----- 768px - TABLET DİKEY ----- */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 1rem 0;
    }

    header .container {
        padding: 0 1rem;
    }

    .logo img {
        height: 35px;
    }

    .header-icons {
        gap: 0.5rem;
    }

    .header-icon,
    .user-icon {
        width: 38px;
        height: 38px;
    }

    .cards-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    /* Navbar */
    .steps-navbar {
        padding: 0.75rem 0;
    }

    .navbar-container {
        flex-direction: column;
        border-radius: 0.75rem;
        gap: 0.25rem;
    }

    .nav-step {
        border-radius: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Form header */
    .form-header-bar {
        padding: 0.75rem 1rem;
    }

    .form-header-bar h2 {
        font-size: 1.1rem;
    }

    .form-section-content {
        padding: 0.75rem 1rem;
    }

    /* Action buttons */
    .action-buttons {
        gap: 0.35rem;
    }

    .icon-btn {
        width: 28px;
        height: 28px;
    }

    /* Form actions */
    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-prev,
    .btn-calculate,
    .btn-next {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .yearly-table {
        min-width: 700px;
    }

    .yearly-info-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    #yillik-ozet {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    #yillik-ozet > div {
        padding: 10px !important;
    }

    #yillik-ozet > div > div:last-child {
        font-size: 16px !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .three-col-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .param-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .param-row > label:first-child {
        font-size: 0.85rem;
    }

    .result-card {
        overflow-x: auto;
    }

    .result-table {
        min-width: 400px;
    }
}

/* ----- 576px - MOBİL YATAY ----- */
@media (max-width: 576px) {
    /* Header */
    header .container {
        padding: 0 0.75rem;
    }

    .logo img {
        height: 30px;
    }

    /* Navbar - daha kompakt */
    .navbar-container {
        padding: 0.35rem;
        border-radius: 0.5rem;
    }

    .nav-step {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }

    /* Form header */
    .form-header-bar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .form-header-bar h2 {
        font-size: 1rem;
        text-align: center;
    }

    .action-buttons {
        justify-content: center;
    }

    /* Yıllık hesaplama */
    .yearly-table {
        min-width: 600px;
    }

    .yearly-header,
    .yearly-row {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    .yearly-row .form-control {
        padding: 0.35rem;
        font-size: 0.75rem;
    }

    .yearly-row input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .yearly-info-row {
        grid-template-columns: 1fr;
    }

    /* Sonuç alanı */
    #yillik-ozet {
        grid-template-columns: 1fr !important;
    }

    /* Tazminat action bar */
    .action-bar {
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: center;
    }

    .action-select {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .action-btn-large {
        flex: 1 1 calc(50% - 0.5rem);
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

/* ----- 480px - MOBİL DİKEY ----- */
@media (max-width: 480px) {
    /* Body padding */
    body {
        font-size: 14px;
    }

    /* Header */
    header {
        padding: 0.75rem 0;
    }

    header .container {
        padding: 0 0.5rem;
    }

    .logo img {
        height: 28px;
    }

    .header-icon,
    .user-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    /* Ana sayfa kartları */
    .card {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        border-radius: 1rem;
    }

    .card-icon svg {
        width: 35px;
        height: 35px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Navbar */
    .nav-step {
        padding: 0.5rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Form header */
    .form-header-bar h2 {
        font-size: 0.95rem;
    }

    .form-section-content {
        padding: 0.5rem 0.75rem;
    }

    /* Form butonları */
    .btn-prev,
    .btn-calculate,
    .btn-next {
        font-size: 0.8rem;
        padding: 0.65rem 0.75rem;
    }

    /* Yıllık hesaplama */
    .yearly-table {
        min-width: 550px;
    }

    .yearly-header,
    .yearly-row {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .col-month {
        font-size: 0.7rem;
    }

    /* Info box */
    .info-box {
        padding: 0.75rem 1rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }

    .tazminat-page {
        padding: 0.75rem;
    }

    .card-title {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }

    .card-content {
        padding: 0.75rem 1rem;
    }

    .result-title {
        padding: 0.65rem 1rem;
        font-size: 0.95rem;
    }

    .totals-content {
        padding: 0.75rem 1rem;
    }

    .total-row {
        padding: 0.65rem 0;
    }

    .total-row span,
    .total-row strong {
        font-size: 0.85rem;
    }

    .total-row.final {
        padding: 0.75rem;
    }

    .total-row.final strong {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 0.75rem 0;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* ----- 360px - KÜÇÜK MOBİL ----- */
@media (max-width: 360px) {
    header .container {
        padding: 0 0.35rem;
    }

    .logo img {
        height: 24px;
    }

    .header-icon,
    .user-icon {
        width: 30px;
        height: 30px;
    }

    .nav-step {
        padding: 0.4rem 0.35rem;
        font-size: 0.65rem;
    }

    .form-header-bar h2 {
        font-size: 0.85rem;
    }

    .yearly-table {
        min-width: 500px;
    }
}

/* ----- GENEL YARDIMCI STILLER ----- */

/* Yatay scroll göstergesi */
.yearly-table-wrapper::-webkit-scrollbar {
    height: 6px;
}

.yearly-table-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 3px;
}

.yearly-table-wrapper::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 3px;
}

.yearly-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Touch cihazlar için scroll hint */
@media (max-width: 1024px) {
    .yearly-table-wrapper::after {
        content: '← Kaydırın →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: #94a3b8;
        padding: 0.5rem 0;
        opacity: 0.7;
    }
}

/* Print için gizle */
@media print {
    .yearly-table-wrapper::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .action-bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .action-bar .action-select {
    flex: 0 0 250px;
    padding: 0.75rem 1rem;
    border: 2px solid #1e40af;
    border-radius: 0.375rem;
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

    .action-bar .action-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    }
    }

    .action-bar .action-btn {
        width: 44px;
        height: 44px;
    }

    .action-bar .action-btn-large {
        width: 100%;
        justify-content: center;
    }

    /* Butonları grupla */
    .action-bar {
        display: flex;
        flex-wrap: wrap;
    }

    .action-bar > .action-select {
        order: 1;
        width: 100%;
        flex: 1 1 100%;
    }

    .action-bar > .action-btn {
        order: 2;
    }

    .action-bar > .action-btn-large.green {
        order: 3;
        flex: 1 1 calc(50% - 0.25rem);
    }

    .action-bar > .action-btn-large.red {
        order: 4;
        flex: 1 1 calc(50% - 0.25rem);
    }


@media (max-width: 400px) {
    .action-bar > .action-btn-large {
        flex: 1 1 100%;
        font-size: 0.85rem;
    }

    .action-bar > .action-btn {
        width: 38px;
        height: 38px;
    }
}

/* ----- YILLIK TABLO MOBİL İYİLEŞTİRME ----- */
@media (max-width: 768px) {
    .yearly-table-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 90%, rgba(0,0,0,0.05) 100%);
    }

    .yearly-header {
        font-size: 0.75rem;
    }

    .yearly-header > div,
    .yearly-row > div {
        padding: 0.25rem;
    }

    .col-month strong {
        font-size: 0.8rem;
    }
}

/* ----- FORM ROW MOBİL ----- */
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .form-row label {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .tazminat-page .form-row {
        margin-bottom: 0.5rem;
    }

    .tazminat-page .form-control {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }
}

/* ----- INPUT DATE MOBİL ----- */
@media (max-width: 480px) {
    input[type="date"] {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
}

.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f1ed;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.auth-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-form {
    padding: 2rem;
}

.form-group-auth {
    margin-bottom: 1.25rem;
}

.form-group-auth label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group-auth label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-group-auth .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group-auth .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-auth-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    margin: 0 2rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.auth-error i {
    margin-right: 0.5rem;
}

.auth-error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-error li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.auth-error li:last-child {
    margin-bottom: 0;
}

.auth-error li::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    flex-shrink: 0;
}

.auth-footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    margin: 0;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-page {
        padding: 1rem;
    }

    .auth-header {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-form {
        padding: 1.5rem;
    }

    .form-row-auth {
        grid-template-columns: 1fr;
    }

    .auth-footer {
        padding: 1rem 1.5rem;
    }
}

.user-dropdown {
    position: relative;
}

.user-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.user-menu-header strong {
    display: block;
    color: var(--text-primary);
}

.user-menu-header small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.user-menu-item:hover {
    background: #f8fafc;
}

.user-menu-item i {
    color: var(--text-secondary);
}

.action-btn.cyan {
    background-color: #f59e0b;
}

.action-btn.cyan:hover {
    background-color: #d97706;
}
.action-select {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 180px;
}

.action-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.action-select option {
    color: var(--text-primary);
    background: white;
}

.btn-export-excel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-export-excel:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-export-excel i {
    font-size: 1.1rem;
}

.management-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-icon.blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-icon.green { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.stat-icon.purple { background: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%); }
.stat-icon.orange { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
}

.tabs-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.table-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filters select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    background: white;
    cursor: pointer;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.data-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.data-table .empty-message {
    text-align: center;
    color: #94a3b8;
    padding: 40px;
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-icon.edit {
    background: #e0f2fe;
    color: #0284c7;
}

.btn-icon.edit:hover {
    background: #0284c7;
    color: white;
}

.btn-icon.excel {
    background: #dcfce7;
    color: #16a34a;
    text-decoration: none;
}

.btn-icon.excel:hover {
    background: #16a34a;
    color: white;
}

.btn-icon.delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-icon.delete:hover {
    background: #dc2626;
    color: white;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
}

.btn-secondary {
    background: #e2e8f0;
    color: #475569;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 50%;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters {
        width: 100%;
    }

    .filters select {
        flex: 1;
    }
}

/* Çalışan Yönetimi Butonu */
.btn-third {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-third:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.tazminat-page .action-select {
    background: #818793;
    border: 2px solid #3b82f6;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tazminat-page .action-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.profil-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.profil-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.profil-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profil-card-header i {
    font-size: 20px;
}

.profil-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.profil-card-body {
    padding: 20px;
}

.profil-card .form-group {
    margin-bottom: 16px;
}

.profil-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 6px;
}

.profil-card .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.profil-card .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.profil-card .form-control:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.profil-card .btn {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
}

.sifre-kurallari {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.sifre-kurallari p {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sifre-kurallari ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sifre-kurallari li {
    font-size: 12px;
    color: #94a3b8;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.sifre-kurallari li i {
    font-size: 6px;
}

.sifre-kurallari li.gecerli {
    color: #10b981;
}

.sifre-kurallari li.gecerli i::before {
    content: "\f00c";
    font-size: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #64748b;
}

.stat-item .stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

@media (max-width: 768px) {
    .profil-grid {
        grid-template-columns: 1fr;
    }
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.admin-card-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-card-header i {
    font-size: 20px;
}

.admin-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: #dcfce7;
    color: #16a34a;
}

.badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.badge-blue {
    background: #dbeafe;
    color: #2563eb;
}

.badge-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.badge-gray {
    background: #f1f5f9;
    color: #64748b;
}

.stats-cell {
    display: flex;
    gap: 12px;
    font-size: 12px;
}

.stats-cell span {
    cursor: help;
}

.modal-lg {
    max-width: 550px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-cell {
        flex-wrap: wrap;
        gap: 8px;
    }
}