.iac-frontend-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.iac-upload-area {
    text-align: center;
    padding: 30px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.iac-upload-area h3 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.iac-file-input {
    position: relative;
    margin: 20px 0;
}

.iac-file-input input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.iac-file-label {
    display: inline-block;
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid #0073aa;
    border-radius: 5px;
    color: #0073aa;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iac-file-label:hover {
    background: #0073aa;
    color: #fff;
}

/* Preview Section */
.iac-preview-section {
    margin: 20px 0;
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.iac-preview-section h4 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.iac-preview-table-container {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.iac-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.iac-preview-table th {
    background: #0073aa;
    color: #fff;
    padding: 10px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: 600;
}

.iac-preview-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.iac-preview-table tr:nth-child(even) {
    background: #f8f9fa;
}

.iac-preview-table tr:hover {
    background: #e9ecef;
}

.iac-preview-info {
    margin-top: 10px;
    color: #666;
    font-style: italic;
}

.iac-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
    font-weight: 600;
}

.iac-submit-btn:hover {
    background: #005a87;
}

.iac-progress-container {
    margin-top: 30px;
}

.iac-progress-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.iac-progress-fill {
    height: 100%;
    background: #0073aa;
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-animation 2s infinite;
}

@keyframes progress-animation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.iac-status {
    color: #666;
    font-size: 14px;
}

.iac-result-container {
    margin-top: 30px;
    padding: 20px;
    background: #d4edda;
    border-radius: 5px;
    color: #155724;
}

.iac-success-message {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.iac-download-btn {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background 0.3s ease;
    font-weight: 600;
}

.iac-download-btn:hover {
    background: #218838;
    color: #fff;
}

.iac-reset-btn {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.iac-reset-btn:hover {
    background: #5a6268;
}

.iac-error-container {
    margin-top: 30px;
    padding: 20px;
    background: #f8d7da;
    border-radius: 5px;
    color: #721c24;
}

.iac-error-message {
    font-size: 16px;
    margin: 0;
}

.iac-template-download {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.iac-template-download h4 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}

.iac-template-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.iac-template-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #6c757d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.iac-template-btn:hover {
    background: #5a6268;
    color: #fff;
}