/* Responsive - Tablet ve Mobil */
@media (max-width: 768px) {
    .premium-info-modal-content {
        max-width: 90%;
        border-radius: 10px;
    }
    
    .premium-info-modal-header {
        padding: 16px 20px;
    }
    
    .premium-info-modal-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .premium-info-modal-close {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .premium-info-modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .premium-info-modal-body {
        padding: 20px;
    }
    
    .premium-info-modal-title {
        font-size: 1.3rem;
        margin-bottom: 14px;
    }
    
    .premium-info-modal-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .premium-info-modal-actions {
        gap: 10px;
        margin-top: 20px;
    }
    
    .premium-info-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .premium-info-modal {
        padding: 10px;
    }
    
    .premium-info-modal-content {
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 8px;
    }
    
    .premium-info-modal-header {
        padding: 14px 16px;
    }
    
    .premium-info-modal-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .premium-info-modal-close {
        width: 30px;
        height: 30px;
        padding: 5px;
    }
    
    .premium-info-modal-close svg {
        width: 16px;
        height: 16px;
    }
    
    .premium-info-modal-body {
        padding: 16px;
    }
    
    .premium-info-modal-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .premium-info-modal-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .premium-info-modal-actions {
        gap: 8px;
        margin-top: 18px;
    }
    
    .premium-info-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        min-height: 46px;
        border-radius: 6px;
    }
    
    .premium-info-btn-emoji {
        font-size: 1.1rem;
    }
}

/* Modal başlangıçta gizli olmalı */
#add-company-modal {
    display: none;
}

#add-company-modal:not(.hidden) {
    display: flex !important;
}

.add-company-modal .modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00ff88;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    will-change: backdrop-filter;
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    position: relative;
}

.add-company-modal .modal-header {
    background: rgba(0, 255, 136, 0.05);
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-company-modal .modal-header h3 {
    color: #00ff88;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
}

.add-company-modal .close-btn {
    background: none;
    border: none;
    color: #00ff88;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-company-modal .close-btn:hover {
    color: #ff4444;
}

.add-company-modal .modal-body {
    padding: 20px;
}

.add-company-form .form-group {
    margin-bottom: 12px;
}

.add-company-form label {
    display: block;
    color: #00ff88;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.add-company-form input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff88;
    border-radius: 5px;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.add-company-form input:focus {
    outline: none;
    border-color: #00cc66;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.add-company-form .form-help {
    display: block;
    color: #666;
    font-size: 0.8rem;
    margin-top: 5px;
    font-style: italic;
}

.add-company-form .form-group label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.add-company-form .form-group label a {
    color: #00ff88;
    text-decoration: underline;
}

.add-company-form .form-group label a:hover {
    color: #00cc66;
}

.add-company-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.add-company-form .btn-cancel,
.add-company-form .btn-submit {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-company-form .btn-cancel {
    background: #333;
    color: #ccc;
    border: 1px solid #555;
}

.add-company-form .btn-cancel:hover {
    background: #444;
    color: #fff;
}

.add-company-form .btn-submit {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #000;
}

.add-company-form .btn-submit:hover {
    background: linear-gradient(45deg, #00cc66, #00ff88);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Şirket Ekleme Modalı - Mobil */
@media (max-width: 768px) {
    .add-company-modal .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .add-company-modal .modal-body {
        padding: 15px;
    }
}


@media (max-width: 480px) {
    .add-company-modal .modal-content {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .add-company-modal .modal-body {
        padding: 12px;
    }
    
}

.user-panel-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.user-panel-btn:hover {
    background: rgba(0, 255, 136, 0.2);
}

.applications-list {
    margin-top: 20px;
}

.application-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.application-item h5 {
    color: #00ff88;
    margin-bottom: 10px;
}

.application-item p {
    color: #00cc66;
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Ticket Filtreleme */
.tickets-filters {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.tickets-filters select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.tickets-filters select:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Ticket Durum Stilleri */
.ticket-status.open {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.ticket-status.closed {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.ticket-status.pending {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Dosya Durumu */
.file-status {
    margin-top: 6px;
    padding: 5px 7px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease;
    will-change: opacity, transform;
    cursor: pointer;
    min-height: 28px;
    height: 28px;
    width: 100%;
    box-sizing: border-box;
}

.file-status.hidden {
    display: none;
    visibility: hidden;
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

.file-info {
    display: flex;
    flex-direction: row;
    gap: 6px;
    flex: 1;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    width: auto;
    align-items: center;
}

.file-name {
    font-weight: 500;
    font-size: 0.75rem;
    color: #00ff88;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    display: block;
}

.file-size {
    font-size: 0.65rem;
    color: #00cc66;
    white-space: nowrap;
    flex-shrink: 0;
    display: block;
}

.file-remove {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    flex: 0 0 22px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
}

.file-remove:hover {
    background: #cc3333;
    transform: scale(1.1);
}

/* Responsive: Tablet (768px) — must be here to override base rules due to CSS load order */
@media (max-width: 768px) {
    .file-status {
        padding: 14px 12px;
        margin-top: 6px;
        gap: 8px;
        min-height: 48px;
        height: auto;
        font-size: 16px;
    }
}

/* Responsive: Mobile (480px) */
@media (max-width: 480px) {
    .file-status {
        min-height: 32px;
        height: auto;
        padding: 5px 7px;
        border-radius: 3px;
        font-size: 12px;
    }
}

