/* Panel Layout */
.panel-container {
    display: flex;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

/* Sidebar Styles */
.panel-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-info {
    padding: 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo i {
    font-size: 24px;
    color: white;
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
}

.kontor-info {
    font-size: 14px;
    color: #666;
}

.kontor-info strong {
    color: var(--primary-color);
}

/* Panel Navigation */
.panel-nav ul {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.panel-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.panel-nav li.active a {
    color: var(--primary-color);
    background: rgba(95, 147, 95, 0.1);
    font-weight: 500;
}

.panel-nav li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.panel-nav li i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Main Content Area */
.panel-content {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    min-height: 600px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.content-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Common Form Styles */
.form-section {
    margin-bottom: 32px;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.max-info {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

input,
select,
textarea {
    box-sizing: border-box;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgb(95 147 95 / 10%);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Button Styles */
.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-btn:hover {
    background: var(--primary-color-dark, #3a723a);
    transform: translateY(-1px);
}

.secondary-btn {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .panel-container {
        flex-direction: column;
    }

    .panel-sidebar {
        width: 100%;
    }

    .panel-nav ul {
        display: flex;
        overflow-x: auto;
        padding: 12px;
    }

    .panel-nav li {
        flex-shrink: 0;
    }

    .panel-nav li a {
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .panel-container {
        padding: 16px;
    }

    .content-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* Mobil Panel Dropdown Menü */
.panel-nav-mobile {
    position: relative;
}

.panel-nav-dropdown-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #222;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: border-color 0.18s;
}

.panel-nav-dropdown-btn:focus {
    outline: none;
    border-color: #00bcd4;
}

.panel-nav-dropdown-btn .fa-chevron-down {
    font-size: 1.1em;
    transition: transform 0.25s;
}

.panel-nav-mobile.open .panel-nav-dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.panel-nav-dropdown-list {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: dropdownFadeIn 0.22s;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.panel-nav-dropdown-list li {
    border-bottom: 1px solid #f2f2f2;
}

.panel-nav-dropdown-list li:last-child {
    border-bottom: none;
}

.panel-nav-dropdown-list a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #222;
    font-size: 1.04rem;
    text-decoration: none;
    background: none;
    transition: background 0.15s, color 0.15s;
}

.panel-nav-dropdown-list li.active>a,
.panel-nav-dropdown-list a:hover {
    background: #f4f8fb;
    color: #00bcd4;
}

@media (min-width: 992px) {
    .panel-nav-mobile {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .panel-nav-mobile {
        display: block;
    }

    .panel-nav {
        display: none !important;
    }
}

/* Mobil Panel Dropdown Menü */
.panel-nav-mobile {
    position: relative;
}

.panel-nav-dropdown-btn {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #222;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: border-color 0.18s;
}

.panel-nav-dropdown-btn:focus {
    outline: none;
    border-color: #00bcd4;
}

.panel-nav-dropdown-btn .fa-chevron-down {
    font-size: 1.1em;
    transition: transform 0.25s;
}

.panel-nav-mobile.open .panel-nav-dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.panel-nav-dropdown-list {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: dropdownFadeIn 0.22s;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.panel-nav-dropdown-list li {
    border-bottom: 1px solid #f2f2f2;
}

.panel-nav-dropdown-list li:last-child {
    border-bottom: none;
}

.panel-nav-dropdown-list a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #222;
    font-size: 1.04rem;
    text-decoration: none;
    background: none;
    transition: background 0.15s, color 0.15s;
}

.panel-nav-dropdown-list li.active>a,
.panel-nav-dropdown-list a:hover {
    background: #f4f8fb;
    color: #00bcd4;
}

@media (min-width: 992px) {
    .panel-nav-mobile {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .panel-nav-mobile {
        display: block;
    }

    .panel-nav {
        display: none !important;
    }
}


/* Mobil Status Filters Dropdown */
.status-filters-mobile {
    position: relative;
}

.status-filters-dropdown-btn {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: border-color 0.18s;
}

.status-filters-dropdown-btn:focus {
    outline: none;
    border-color: #00bcd4;
}

.status-filters-dropdown-btn .fa-chevron-down {
    font-size: 1.1em;
    transition: transform 0.25s;
}

.status-filters-mobile.open .status-filters-dropdown-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.status-filters-dropdown-list {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    animation: dropdownFadeIn 0.22s;
}

.status-filters-dropdown-list li {
    border-bottom: 1px solid #f2f2f2;
}

.status-filters-dropdown-list li:last-child {
    border-bottom: none;
}

.status-filters-dropdown-list .filter-btn {
    background: none;
    border: none;
    color: #222;
    font-size: 1.01rem;
    padding: 12px 18px;
    width: 100%;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
    display: block;
}

.status-filters-dropdown-list li.active>.filter-btn,
.status-filters-dropdown-list .filter-btn:hover {
    background: #f4f8fb;
    color: #00bcd4;
}

@media (min-width: 992px) {
    .status-filters-mobile {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .status-filters-mobile {
        display: block;
    }

    .status-filters {
        display: none !important;
    }
}


.pagination {
    display: flex
;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
}

.page-btn:disabled {
    background-color: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-dots {
    color: #adb5bd;
}