/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    position: relative;
}

.logo-section {
    margin-bottom: 10px;
}

.logo {
    font-size: 72px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.subtitle {
    font-size: 18px;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.support-list-btn {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 10px 20px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-list-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.support-list-btn:active {
    transform: translateY(0);
}

.user-section {
    position: absolute;
    top: 20px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.username {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}

.logout-btn {
    padding: 8px 20px;
    background-color: #2196F3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

/* Navigation Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0px;
}

.tab-btn {
    padding: 12px 30px;
    background-color: #2d2d2d;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #3d3d3d;
}

.tab-btn.active {
    background-color: #0066cc;
    border: 1px solid #ffffff;
    color: #ffffff;
}

/* Content Area */
.content {
    min-height: 500px;
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* IMMO - Main Buttons */
.immo-main-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
    min-height: 450px;
}

.immo-main-btn {
    width: 270px;
    height: 236px;
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 30px 20px;
}

.immo-main-btn:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.immo-btn-icon {
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80px;
    width: 100%;
}

.immo-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.immo-icon-svg {
    width: 70px;
    height: 70px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immo-car-key-icon {
    height: 100px;
    margin-bottom: 20px;
}

.immo-car-key-icon .immo-icon-img {
    width: 80px;
    height: 80px;
}

.immo-car-key-icon .immo-icon-svg {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.immo-btn-pin {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.immo-btn-label {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
}

/* RADIO - Main Buttons */
.radio-main-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding-top: 40px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
    min-height: 450px;
}

.radio-main-btn {
    width: 270px;
    height: 236px;
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 30px 20px;
}

.radio-main-btn:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.radio-btn-icon {
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 80px;
    width: 100%;
}

.radio-btn-icon-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.radio-btn-icon-svg {
    width: 70px;
    height: 70px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-btn-pin {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.radio-btn-label {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
}

/* CHECKSUM Panel */
.checksum-panel {
    padding: 50px 20px;
    text-align: center;
}

.checksum-panel h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.checksum-panel p {
    font-size: 16px;
    color: #e0e0e0;
}

/* SPECIAL Grid */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.special-card {
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.special-card:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.special-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .immo-main-buttons {
        gap: 30px;
        padding: 40px 20px;
    }
    
    .immo-main-btn {
        width: 270px;
        height: 236px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo {
        font-size: 54px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .user-section {
        position: static;
        justify-content: center;
        margin-top: 20px;
    }
    
    .tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .support-list-btn {
        position: static;
        margin-bottom: 15px;
        width: 100%;
    }
}

/* Support Modal */
.support-modal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.support-modal.active {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.support-modal-content {
    background-color: #2d2d2d;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.support-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #3d3d3d;
    background-color: #1a1a1a;
    border-radius: 12px 12px 0 0;
}

.support-modal-header h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.support-modal-close:hover {
    background-color: #3d3d3d;
    transform: rotate(90deg);
}

.support-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.support-section {
    margin-bottom: 40px;
}

.support-section-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
}

.support-subsection-title {
    color: #ff9800;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    font-family: 'Courier New', monospace;
}

.support-subsection {
    color: #888;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.support-brand {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.support-divider {
    color: #666;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.support-item {
    color: #e0e0e0;
    margin-bottom: 5px;
    padding-left: 10px;
    font-family: 'Courier New', monospace;
}

.support-category {
    color: #ff9800;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.support-modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #3d3d3d;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
}

.support-modal-close-btn {
    padding: 12px 40px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.support-modal-close-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.support-modal-close-btn:active {
    transform: translateY(0);
}

/* Scrollbar styling */
.support-modal-body::-webkit-scrollbar {
    width: 10px;
}

.support-modal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.support-modal-body::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 5px;
}

.support-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}

/* Brand Options Modal */
.brand-options-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.brand-options-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.brand-options-modal-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 20px;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.brand-options-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px 20px 0 0;
}

.brand-options-modal-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-options-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    line-height: 1;
}

.brand-options-modal-close:hover {
    background-color: #3d3d3d;
    transform: rotate(90deg);
}

.brand-options-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.brand-menu-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.brand-menu-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-menu-item:last-child {
    border-bottom: none;
}

.brand-menu-item:hover {
    background-color: #252525;
}

.brand-menu-item-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.brand-menu-item-arrow {
    color: #0066cc;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.brand-menu-item.active .brand-menu-item-arrow {
    transform: rotate(180deg);
}

.brand-menu-item-selected {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    pointer-events: none;
}

.brand-menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.brand-menu-item:hover .brand-menu-item-header {
    background-color: #252525;
}

.brand-menu-item-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    background-color: #1a1a1a;
    padding: 0;
}

.brand-menu-item.active .brand-menu-item-content {
    max-height: 1000px;
    opacity: 1;
    padding: 0;
    overflow-y: auto;
}

.brand-menu-category-card {
    margin-bottom: 0;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 152, 0, 0.3);
}

.brand-menu-category-card:last-child {
    border-bottom: none;
}

.brand-menu-category-title {
    color: #ff9800;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 152, 0, 0.3);
    width: 100%;
}

.brand-menu-category-title:hover {
    background-color: #252525;
    padding-left: 25px;
}

.brand-menu-category-card.active .brand-menu-category-title {
    background-color: #2d2d2d;
    border-bottom-color: rgba(255, 152, 0, 0.5);
}

.brand-menu-category-arrow {
    color: #ff9800;
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.brand-menu-category-card.active .brand-menu-category-arrow {
    transform: rotate(180deg);
}

.brand-menu-items-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
}

.brand-menu-category-card.active .brand-menu-items-grid {
    padding: 0;
    margin-top: 0;
    animation: categoryItemsExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes categoryItemsExpand {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
    }
}

.brand-menu-item-card {
    padding: 12px 20px;
    background-color: #1a1a1a;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    color: #e0e0e0;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateX(-10px);
    width: 100%;
}

.brand-menu-item.active .brand-menu-item-card,
.brand-menu-category-card.active .brand-menu-item-card {
    animation: itemCardFadeIn 0.4s ease forwards;
}

.brand-menu-item-card:nth-child(1) { animation-delay: 0.05s; }
.brand-menu-item-card:nth-child(2) { animation-delay: 0.1s; }
.brand-menu-item-card:nth-child(3) { animation-delay: 0.15s; }
.brand-menu-item-card:nth-child(4) { animation-delay: 0.2s; }
.brand-menu-item-card:nth-child(5) { animation-delay: 0.25s; }
.brand-menu-item-card:nth-child(6) { animation-delay: 0.3s; }
.brand-menu-item-card:nth-child(7) { animation-delay: 0.35s; }
.brand-menu-item-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes itemCardFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brand-menu-item-card:hover {
    background-color: #252525;
    color: #ffffff;
    padding-left: 25px;
    border-left: 3px solid #0066cc;
}

.brand-menu-item-card:active {
    background-color: #2d2d2d;
}

.brand-menu-item-card:last-child {
    border-bottom: none;
}

.brand-menu-subcategory-section {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 152, 0, 0.3);
}

.brand-menu-subcategory-title {
    color: #ff9800;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding: 8px 0;
    font-family: 'Courier New', monospace;
}

.brand-menu-subcategory-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.brand-input-clear {
    width: 36px;
    height: 36px;
    background-color: #3d3d3d;
    border: 2px solid #3d3d3d;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-input-clear:hover {
    background-color: #2196F3;
    border-color: #d32f2f;
    transform: scale(1.1);
}

.brand-menu-card-content::-webkit-scrollbar {
    width: 8px;
}

.brand-menu-card-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.brand-menu-card-content::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

.brand-menu-card-content::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}

/* Responsive for card menu */
@media (max-width: 768px) {
    .brand-menu-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .brand-menu-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .brand-menu-card-title {
        font-size: 16px;
    }
}

/* Brand Option Modal Items */
.brand-option-modal-category {
    color: #ff9800;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-option-modal-category:first-child {
    margin-top: 0;
}

.brand-option-modal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e0e0e0;
    font-size: 15px;
    padding: 15px 20px;
    margin: 5px 0;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.brand-option-modal-item:hover {
    background-color: #2d2d2d;
    border-color: #0066cc;
    transform: translateX(5px);
}

.brand-option-modal-item svg {
    color: #0066cc;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.brand-option-modal-item:hover svg {
    transform: translateX(3px);
}

.brand-option-modal-item span {
    flex: 1;
}

/* Scrollbar for modal body */
.brand-options-modal-body::-webkit-scrollbar {
    width: 10px;
}

.brand-options-modal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.brand-options-modal-body::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 5px;
}

.brand-options-modal-body::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}

@media (max-width: 768px) {
    .brand-options-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .brand-options-modal-title {
        font-size: 22px;
    }
    
    .brand-options-modal-subtitle {
        font-size: 16px;
    }
    
    .brand-options-item {
        font-size: 13px;
        padding: 10px 15px;
    }
}

/* Brand Selection Page */
.brand-selection-page {
    padding: 20px;
    min-height: 500px;
    margin-top: 20px;
}

.brand-selection-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.brand-selection-header .brand-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.brand-back-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.brand-back-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.brand-back-btn svg {
    color: #ffffff;
    width: 24px;
    height: 24px;
}

.brand-back-btn:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-50%) translateX(-3px);
}

.brand-selection-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 600;
    margin: 0;
    margin-top: -30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.brand-grid-container {
    margin-bottom: 30px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.brand-btn {
    aspect-ratio: 1;
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.brand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.brand-btn-active {
    background-color: #ffffff;
    border-color: #ffffff;
}

.brand-btn-active:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.brand-logo {
    width: 55%;
    height: auto;
    max-height: 50%;
    object-fit: contain;
    margin-bottom: 4px;
    opacity: 0.9;
}

.brand-btn-active .brand-logo {
    opacity: 1;
}

.brand-name {
    color: #e0e0e0;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    margin-top: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.1;
}

.brand-btn-active .brand-name {
    color: #1a1a1a;
}

.brand-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-btn {
    background-color: #2d2d2d;
    border: 2px solid #3d3d3d;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
}

.pagination-btn-active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
}

.pagination-btn-active:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* Responsive for Brand Selection */
@media (max-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .brand-selection-title {
        font-size: 28px;
    }
    
    .brand-back-btn {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .brand-selection-title {
        font-size: 24px;
    }
}

/* EDC15 Page */
.edc15-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #1a1a1a;
}

.edc15-page-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    width: 852px;
    height: 675px;
    max-width: 852px;
    max-height: 675px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.edc15-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.edc15-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edc15-back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.edc15-back-btn:hover {
    background-color: #3d3d3d;
    transform: translateX(-3px);
}

.edc15-car-icon {
    font-size: 24px;
    color: #d32f2f;
}

.edc15-page-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.edc15-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edc15-lightning-icon {
    font-size: 20px;
    color: #ffd700;
}

.edc15-code {
    color: #ffffff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    padding: 5px 10px;
    border-radius: 4px;
}

.edc15-checksum-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

/* Download IMMO Data Button */
.edc15-download-immo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.edc15-download-immo-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.edc15-download-immo-btn:active {
    background-color: #388e3c;
}

.download-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.edc15-checksum-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}


.edc15-page-body {
    display: flex;
    flex: 1;
    gap: 15px;
    padding: 15px;
    overflow: hidden;
}

.edc15-left-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.edc15-buttons-row {
    display: flex;
    gap: 12px;
    width: 527px;
}

.edc15-buttons-row .edc15-load-btn,
.edc15-buttons-row .edc15-save-btn {
    flex: 1;
    min-width: 0;
}

.edc15-load-btn {
    padding: 12px 8px;
    background-color: #ff9800;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.edc15-load-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.edc15-buttons-row .edc15-load-btn.loaded {
    background-color: #4caf50;
    flex: 1;
    min-width: 0;
}

.edc15-load-btn.loaded:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.edc15-save-btn {
    padding: 12px 8px;
    background-color: #666;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.edc15-save-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.edc15-log-content {
    width: 527px;
    height: 400px;
    padding: 10px;
    background-color: #1a1a1a;
    border: 2px solid #0066cc;
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    overflow-y: auto;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Log content scrollbar - Turuncu renk */
.edc15-log-content::-webkit-scrollbar {
    width: 10px;
}

.edc15-log-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.edc15-log-content::-webkit-scrollbar-thumb {
    background: #ff9800;
    border-radius: 5px;
}

.edc15-log-content::-webkit-scrollbar-thumb:hover {
    background: #f57c00;
}

/* Firefox scrollbar */
.edc15-log-content {
    scrollbar-width: thin;
    scrollbar-color: #ff9800 #1a1a1a;
}

.log-line {
    margin-bottom: 4px;
    line-height: 1.5;
}

.log-label {
    color: #ffffff;
    font-weight: 500;
}

.log-ok {
    color: #4caf50;
}

.log-ok-line {
    display: flex;
    align-items: center;
}

.log-ok-checkmark {
    color: #4caf50;
    margin-left: 5px;
}

.log-path {
    color: #888;
    margin-left: 20px;
}

.log-info {
    color: #2196f3;
    font-weight: 500;
}

.log-separator {
    color: #666;
    margin: 8px 0;
}

.edc15-file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #252525;
    border-radius: 4px;
    font-size: 12px;
    color: #888;
    font-family: 'Courier New', monospace;
}

.edc15-file-info span {
    color: #ffffff;
}

.edc15-right-panel {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    box-sizing: border-box;
    overflow: hidden;
}

.edc15-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.edc15-input-group label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0;
}

.edc15-input {
    padding: 10px 12px;
    background-color: #1a1a1a;
    border: 2px solid #3d3d3d;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* EDC16 Specific Styles - Larger window, smaller inputs */
.edc16-page-wrapper .edc15-page-content {
    width: 850px;
    max-width: 850px;
    height: 697px;
    max-height: 697px;
}

.edc16-page-wrapper .edc15-log-content {
    width: 529px;
    height: 450px;
}

/* ME7.X Specific Styles - Same theme as EDC16 */
.me7x-page-wrapper .edc15-page-content {
    width: 870px;
    max-width: 870px;
    height: 600px;
    max-height: 600px;
}

.me7x-page-wrapper .edc15-log-content {
    width: 529px;
    height: 333px;
}


.me7x-page-wrapper .edc15-input {
    padding: 6px 8px;
    font-size: 11px;
    border-radius: 4px;
}

.me7x-page-wrapper .edc15-input-group {
    gap: 3px;
}

.me7x-page-wrapper .edc15-input-group label {
    font-size: 10px;
}

.edc16-page-wrapper .edc15-input {
    padding: 6px 8px;
    font-size: 11px;
    border-radius: 4px;
}

.edc16-page-wrapper .edc15-input-group {
    gap: 3px;
}

.edc16-page-wrapper .edc15-input-group label {
    font-size: 10px;
}

.edc15-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

/* EDC16 CS Container */
.edc16-cs-container {
    display: flex;
    gap: 3px;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.edc16-cs-input {
    flex: 0 0 auto;
    width: 38px;
    padding: 2px;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 2px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 28px;
    line-height: 24px;
}

.edc16-cs-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.edc15-status-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.edc15-status-group label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0;
}

.edc15-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: #1a1a1a;
    border: 2px solid #3d3d3d;
    border-radius: 6px;
}

.edc15-status-dot.status-active {
    background-color: #4CAF50 !important; /* Yeşil */
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

.edc15-status-dot.status-off {
    background-color: #F44336 !important; /* Kırmızı */
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.6);
}

.edc15-status-dot {
    width: 12px;
    height: 12px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.edc15-status-text {
    color: #4caf50;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edc15-status-indicator.status-active .edc15-status-text {
    color: #4CAF50 !important; /* Yeşil yazı */
}

.edc15-status-indicator.status-off .edc15-status-text {
    color: #F44336 !important; /* Kırmızı yazı */
}

.edc15-download-btn {
    padding: 12px 20px;
    background-color: #4caf50;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.edc15-download-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.edc15-reset-btn {
    padding: 12px 20px;
    background-color: #d32f2f;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.edc15-reset-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

/* Synchronization Page Styles */
.sync-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #1a1a1a;
}

.sync-page-wrapper .edc15-page-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    width: 925px;
    max-width: 925px;
    height: 720px;
    max-height: 720px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sync-page-wrapper .edc15-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.sync-page-body {
    display: flex;
    flex: 1;
    padding: 15px;
    gap: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 2 Tabs Synchronization Styles */
.sync-tabs-container {
    display: flex !important;
    gap: 0;
    padding: 0;
    background-color: #1a1a1a;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    min-height: 50px;
}

.sync-tab-btn {
    flex: 1;
    padding: 15px 25px;
    background-color: #2d2d2d;
    border: none;
    border-bottom: 3px solid transparent;
    color: #888;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    min-height: 50px;
}

.sync-tab-btn:hover {
    color: #ffffff;
    background-color: #3d3d3d;
}

.sync-tab-btn.active {
    color: #ffffff;
    border-bottom-color: #ff9800;
    background-color: #2d2d2d;
    border-bottom-width: 4px;
}

.sync-tab-content {
    display: none !important;
    flex: 1;
    gap: 15px;
    padding: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.sync-tab-content.active {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.sync-left-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 600px;
    flex-shrink: 0;
    box-sizing: border-box;
    align-self: stretch;
    margin-top: 10px;
    padding-top: 0;
}

.sync-buttons-row {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 0;
}

.sync-buttons-row .sync-load-btn,
.sync-buttons-row .sync-save-btn {
    flex: 1;
    min-width: 0;
}

.sync-load-btn {
    padding: 12px 12px;
    background-color: #ff9800;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.sync-load-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.sync-buttons-row .sync-load-btn.loaded {
    background-color: #4caf50;
    padding: 12px 12px;
    font-size: 12px;
    letter-spacing: 0.8px;
}

.sync-buttons-row .sync-load-btn.loaded:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.sync-save-btn {
    padding: 12px 12px;
    background-color: #666;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.sync-save-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sync-middle-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sync-right-panel {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    align-self: stretch;
    margin-top: 0;
    padding-top: 0;
}


.sync-input {
    font-size: 11px;
    padding: 8px 10px;
    letter-spacing: 1px;
    background-color: #1a1a1a;
    border: 2px solid #3d3d3d;
    border-radius: 6px;
}

.sync-input::placeholder {
    color: #666;
    opacity: 0.7;
}

.sync-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.sync-key-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sync-key-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    min-width: 80px;
    max-width: 80px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sync-key-inputs {
    display: flex;
    gap: 5px;
    flex: 1;
    align-items: center;
    box-sizing: border-box;
}

.sync-key-input {
    width: 65px;
    min-width: 65px;
    padding: 9px 7px;
    background-color: #1a1a1a;
    border: 2px solid #3d3d3d;
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sync-key-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.sync-key-input:disabled {
    background-color: #0f0f0f;
    border-color: #222;
    color: #555;
    cursor: not-allowed;
    opacity: 0.5;
}

.sync-id-abs-container {
    display: flex;
    gap: 5px;
    width: auto;
}

.sync-id-abs-input {
    width: 50px;
    padding: 6px 4px;
    background-color: #1a1a1a;
    border: 2px solid #3d3d3d;
    border-radius: 4px;
    color: #ffffff;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sync-id-abs-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

/* SYNC Buttons Container */
.sync-sync-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.sync-right-panel .edc15-input-group {
    margin-bottom: 0;
}

.sync-right-panel .edc15-input-group:last-of-type {
    margin-bottom: 0;
}

.sync-ecm-cem-btn {
    margin-bottom: 0;
    width: 100%;
}

.sync-cem-ecm-btn {
    margin-top: 0;
    width: 100%;
}

/* Reset Button Styles */
.sync-reset-btn {
    padding: 12px 12px;
    background-color: #d32f2f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-top: 5px !important;
}

.sync-reset-btn:hover {
    background-color: #b71c1c;
}

.sync-reset-btn:active {
    background-color: #8b0000;
}

/* Hex Info Modal Styles */
.hex-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.hex-info-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    padding: 25px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.hex-info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3d3d3d;
}

.hex-info-icon {
    width: 40px;
    height: 40px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.hex-info-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hex-info-body {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-all;
    margin-bottom: 20px;
}

.hex-info-close {
    width: 100%;
    padding: 12px 20px;
    background-color: #ff9800;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hex-info-close:hover {
    background-color: #f57c00;
}

.hex-info-close:active {
    background-color: #e65100;
}

/* Reset Confirmation Modal Styles */
.reset-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.reset-confirm-content {
    background-color: #2d2d2d;
    border: 1px solid #d32f2f;
    border-radius: 8px;
    padding: 40px 50px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.reset-warning-icon {
    width: 0;
    height: 0;
    margin: 0 auto 25px;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #ffc107;
    position: relative;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8));
}

.reset-warning-icon::after {
    content: "!";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 42px;
    font-weight: 900;
    color: #000000;
    font-family: Arial, sans-serif;
}

.reset-confirm-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 20px 0;
    font-family: Arial, sans-serif;
}

.reset-confirm-text {
    color: #ffffff;
    font-size: 15px;
    margin: 0 0 30px 0;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.reset-confirm-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.reset-yes-btn {
    padding: 14px 35px;
    background-color: #d32f2f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 110px;
    font-family: Arial, sans-serif;
}

.reset-yes-btn:hover {
    background-color: #b71c1c;
}

.reset-yes-btn:active {
    background-color: #8b0000;
}

.reset-no-btn {
    padding: 14px 35px;
    background-color: #444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 110px;
    font-family: Arial, sans-serif;
}

.reset-no-btn:hover {
    background-color: #333;
}

/* Checksum Warning Modal Styles */
.checksum-warning-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10002;
    justify-content: center;
    align-items: center;
}

.checksum-warning-content {
    background-color: #2d2d2d;
    border: 3px solid #d32f2f;
    border-radius: 12px;
    padding: 35px 45px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(211, 47, 47, 0.5);
}

.checksum-stop-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background-color: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px rgba(211, 47, 47, 0.8);
    animation: pulse 2s infinite;
}

.checksum-stop-icon::after {
    content: "STOP";
    position: absolute;
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    font-family: Arial, sans-serif;
    letter-spacing: 3px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(211, 47, 47, 0.8);
    }
    50% {
        box-shadow: 0 0 50px rgba(211, 47, 47, 1);
    }
}

.checksum-warning-title {
    color: #d32f2f;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 15px 0;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.checksum-warning-text {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 25px 0;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.checksum-warning-close {
    width: 100%;
    padding: 12px 25px;
    background-color: #d32f2f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: Arial, sans-serif;
}

.checksum-warning-close:hover {
    background-color: #b71c1c;
}

.checksum-warning-close:active {
    background-color: #8b0000;
}

.reset-no-btn:active {
    background-color: #222;
}

.sync-ecm-cem-btn {
    padding: 14px 18px;
    background-color: #4CAF50;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    min-width: 200px;
    margin-top: 10px;
    margin-bottom: 3px;
}

.sync-ecm-cem-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.sync-cem-ecm-btn {
    padding: 14px 18px;
    background-color: #2196F3;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    min-width: 200px;
    margin-top: 3px;
}

.sync-cem-ecm-btn:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.edc15-page-footer {
    padding: 12px 20px;
    background-color: #1a1a1a;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edc15-note-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.edc15-note {
    color: #4caf50;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edc15-note::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-right: 5px;
}

.edc15-copyright {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 15px 20px;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
}

/* Responsive for EDC15 Page */
@media (max-width: 992px) {
    .edc15-page-body {
        flex-direction: column;
    }
    
    .edc15-right-panel {
        flex: 1;
    }
}

/* Reset Confirm Modal */
.reset-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.reset-confirm-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid #d32f2f;
}

.reset-confirm-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.5));
}

.reset-confirm-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reset-confirm-message {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.reset-confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.reset-confirm-yes {
    padding: 12px 30px;
    background-color: #d32f2f;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-confirm-yes:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.reset-confirm-no {
    padding: 12px 30px;
    background-color: #666;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-confirm-no:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Save Success Modal */
.save-success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.save-success-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid #4caf50;
}

.save-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    color: #4caf50;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
}

.save-success-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.save-success-message {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.save-success-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.save-success-ok {
    padding: 12px 30px;
    background-color: #4caf50;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-success-ok:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
}

.loading-gif {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loading-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

