:root {
    --primary-color: #1B4D3E;
    --secondary-color: #D4AF37;
    --text-color: #333;
    --light-color: #fff;
    --border-color: #ddd;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    align-items: top;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Ana İçerik */
.main-content {
    min-height: calc(100vh - 80px);
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0); /* Saydam beyaz arka plan */
    border-radius: 20px;
    margin: 2rem auto;
    backdrop-filter: blur(5px); /* Arkayı bulanıklaştır */
}

.company-title {
    color: #fec300;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.company-subtitle {
    color: #fe0505;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: #333;
    color: var(--light-color);
    padding: 0.5rem 0;
}

.footer-info {
    font-size: 0.9rem;
    margin: 0;
}

.tax-info {
    margin: 0;
    font-size: 0.8rem;
}

.split-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}
/*
.left-section {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.left-section .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    object-fit: cover;
}

.left-section:hover .hover-image {
    opacity: 1;
}

.left-section:hover {
    box-shadow: inset -10px 0 15px -5px rgba(0, 0, 0, 0.2);
}
*/
/*
.right-section {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.right-section .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    object-fit: cover;
}

.right-section:hover .hover-image {
    opacity: 1;
}

.right-section:hover {
    box-shadow: inset 10px 0 15px -5px rgba(0, 0, 0, 0.2);
}
*/
/* Hamburger Menü Stilleri */
.hamburger-menu {
    position: fixed;
    top: 7%;
    left: 1%;
    z-index: 1000;
}

.hamburger-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 25px;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hamburger-btn:hover {
    background: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(27, 77, 62, 0.1);
    color: #1B4D3E;
}

.menu-item i {
    margin-right: 8px;
    width: 16px;
}

/* Link stilini ekleyelim 
.left-section a, .right-section a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
    */

/* Erişim Kısıtlı Sayfası Stilleri */
.access-denied-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 20px;
}

.notification-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.access-title {
    color: #dc3545;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.notification-content {
    margin-top: 20px;
}

.main-message {
    font-size: 1.5rem;
    color: #343a40;
    margin-bottom: 15px;
}

.sub-message {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 30px;
}

.company-contact {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.company-contact h2 {
    color: #1B4D3E;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.company-contact p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #495057;
}

.company-contact i {
    margin-right: 10px;
    color: #1B4D3E;
}

/* Mobil için responsive tasarım */
@media (max-width: 768px) {
    .notification-box {
        padding: 20px;
    }

    .access-title {
        font-size: 2rem;
    }

    .main-message {
        font-size: 1.2rem;
    }

    .sub-message {
        font-size: 1rem;
    }

    .company-contact h2 {
        font-size: 1.5rem;
    }

    .company-contact p {
        font-size: 1rem;
    }

    .company-title {
        font-size: 2rem;
    }
    
    .company-subtitle {
        font-size: 1rem;
    }
}

/* Admin Login Styles */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 20px;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.login-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #143d31;
}

.login-btn i {
    margin-right: 8px;
}

/* Hata mesajları için stil */
.flash-message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Responsive tasarım */
@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .login-form input {
        padding: 10px;
    }

    .login-btn {
        padding: 10px;
    }
}

/* Admin Layout Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.sidebar-nav {
    padding: 20px 0;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover, .nav-item.active {
    background-color: rgba(255,255,255,0.1);
}

.nav-item i {
    width: 20px;
    margin-right: 10px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.logout-btn i {
    margin-right: 10px;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    margin-left: 260px;
    padding: 20px;
    background-color: #f8f9fa;
}

.content-header {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-header h1 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.content-body {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-section {
    margin-bottom: 30px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Ana sayfa content-section için özel stil */
.content-section.text-center {
    background: transparent;  /* Arkaplan rengini kaldır */
    box-shadow: none;        /* Gölgeyi kaldır */
    padding: 40px 20px;      /* Padding'i koru */
}

/* Users Section Styles */
.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.users-table th,
.users-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.users-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.users-table tr:hover {
    background-color: #f8f9fa;
}

.add-user-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
}

.add-user-btn i {
    margin-right: 8px;
}

.actions {
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-btn {
    background-color: #ffc107;
    color: #000;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.password-hint {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Company Form Styles */
.company-form {
    padding: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section.full-width {
    grid-column: 1 / -1;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    font-size: 1.2em;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.media-item {
    text-align: center;
}

.media-preview {
    width: 150px;
    height: 150px;
    margin: 10px auto;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 20px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Form Styles */
.content-form {
    padding: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.content-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.media-preview-container {
    text-align: center;
    margin-bottom: 20px;
}

.media-preview {
    width: 100%;
    height: 200px;
    margin: 10px auto;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.media-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.upload-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-btn:hover {
    background: #1a4538;
}

.link-editor {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.link-editor h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Content Form içindeki section'lar için özel stil */
.content-form .content-section {
    display: block !important; /* Her zaman görünür olmasını sağlar */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Grid yapısını güçlendirelim */
.content-form .content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Medya önizleme container'ı için stil */
.content-form .media-preview-container {
    margin-bottom: 20px;
}

/* Form grupları için stil */
.content-form .form-group {
    margin-bottom: 15px;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .content-form .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Dealers Section Styles */
.dealers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.dealers-table th,
.dealers-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.dealers-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.dealers-table tr:hover {
    background-color: #f8f9fa;
}

.add-dealer-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 20px;
}

.add-dealer-btn i {
    margin-right: 8px;
}

/* User Login Styles */
.user-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1B4D3E 0%, #2C7A64 100%);
    padding: 20px;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 150px;
    height: 80px;
    margin-bottom: 20px;
}

.login-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    color: #495057;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.password-input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn i {
    margin-right: 8px;
}

.login-btn:hover {
    background-color: #2C7A64;
}

.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Toplu Durum Güncelleme Formu Stilleri */
.bulk-status-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 15px;
}

.bulk-status-select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #495057;
    min-width: 140px;
    transition: border-color 0.3s ease;
}

.bulk-status-select:focus {
    outline: none;
    border-color: var(--primary-color);
}



/* Accordion header'da form düzeni */
.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .bulk-status-form {
        flex-direction: column;
        gap: 8px;
        margin: 10px 0;
        width: 100%;
    }
    
    .bulk-status-select {
        width: 100%;
        min-width: auto;
    }
    
    .bulk-update-btn {
        width: 100%;
        justify-content: center;
    }
    
    .accordion-header {
        flex-direction: column;
        align-items: stretch;
    }
}

