/* Isuzu HardCut Plugin Styles */
#isuzu-hardcut-container {
    background: #000;
    color: #fff;
    font-family: 'Helvetica', Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
    position: relative;
}

/* Header */
.isuzu-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.isuzu-logo h2 {
    color: #FF6600;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.isuzu-logo .header-image {
    max-width: 100%;
    height: auto;
    max-height: 345px; /* 15% larger than 300px */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

/* Content Area */
.isuzu-content {
    padding: 20px 0;
}

/* File Information */
.file-info {
    text-align: center;
    margin-bottom: 20px;
}

.file-info div {
    margin: 5px 0;
    padding: 5px;
}

#file-name {
    font-size: 12px;
    color: #fff;
}

#file-size {
    font-size: 11px;
    color: #ccc;
}

#limiter-status {
    font-weight: bold;
    font-size: 12px;
}

.limiter-found {
    color: #00ff00 !important;
}

.limiter-not-found {
    color: #ff0000 !important;
}

#current-rpm {
    color: #ffff00;
    font-weight: bold;
    font-size: 14px;
    margin: 10px 0;
}

/* RPM Section */
.rpm-section {
    text-align: center;
    margin: 30px 0;
}

.rpm-section label {
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 10px;
}

.rpm-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.isuzu-btn {
    background: #FF6600;
    color: white;
    border: 2px solid #FF6600;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.isuzu-btn:hover {
    background: #FF8833;
    border-color: #FF8833;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.isuzu-btn:active {
    background: #CC4400;
    border-color: #CC4400;
    transform: translateY(0);
}

.isuzu-btn:disabled {
    background: #666;
    border-color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.isuzu-btn:disabled:hover {
    background: #666;
    border-color: #666;
}

/* RPM Input */
#new-rpm {
    width: 80px;
    padding: 8px;
    border: 2px solid #333;
    border-radius: 5px;
    background: #fff;
    color: #000;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

#new-rpm:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}

/* Status */
.status {
    text-align: center;
    font-size: 11px;
    color: #ccc;
    margin: 20px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Progress Bar */
#progress-container {
    margin: 20px 0;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

#progress-bar {
    height: 20px;
    background: linear-gradient(90deg, #FF6600, #FF8833);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Download Section */
#download-container {
    text-align: center;
    margin: 20px 0;
}

.download-btn {
    background: #00aa00;
    border-color: #00aa00;
    font-size: 14px;
    padding: 12px 24px;
}

.download-btn:hover {
    background: #00cc00;
    border-color: #00cc00;
}

/* Footer */
.isuzu-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #333;
    margin-top: 30px;
}

.copyright {
    color: #FF6600;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.thanks {
    margin: 10px 0;
    font-size: 12px;
}

.thanks span {
    color: #00ff00;
    font-weight: bold;
}

.jayner-link {
    color: #90EE90;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.jayner-link:hover {
    color: #00ff00;
}

.contact-info {
    margin: 15px 0;
}

.contact-info a {
    display: block;
    color: #87CEEB;
    text-decoration: underline;
    margin: 5px 0;
    font-size: 11px;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #00BFFF;
}

.version {
    color: #999;
    font-size: 10px;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #isuzu-hardcut-container {
        padding: 15px;
        margin: 10px;
    }
    
    .rpm-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .isuzu-btn {
        width: 120px;
    }
    
    .isuzu-logo h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .isuzu-logo h2 {
        font-size: 18px;
    }
    
    .rpm-controls {
        gap: 8px;
    }
    
    .isuzu-btn {
        width: 100px;
        font-size: 10px;
        padding: 6px 12px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #333;
    border-top: 4px solid #FF6600;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}