:root {
    --primary-color: rgb(104, 195, 159);
    --bg-color: #ffffff;
    --border-color: #e0e0e0;
    --text-dark: #333;
}

body { font-family: 'Inter', sans-serif; background-color: #fcfcfc; color: var(--text-dark); margin: 0; display: flex; justify-content: center; }
.div_deploy_container { width: 90%; max-width: 1000px; background: var(--bg-color); padding: 20px; margin: 0 0; border-radius: 12px; border: 1px solid #eee; }


h1 { color: var(--primary-color); font-size: 24px; letter-spacing: -0.5px; }
.subtitle { font-weight: 300; color: #aaa; }
.user-info { font-size: 14px; color: #666; margin-bottom: 30px; }

.form-group { margin-bottom: 25px; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.hint { font-size: 12px; color: #888; margin-top: 5px; }

input[type="text"], select, textarea {
    width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; box-sizing: border-box; outline: none;
}
input:focus { border-color: var(--primary-color); }

.tabs { border-bottom: 1px solid var(--border-color); margin-bottom: 20px; display: flex; gap: 20px; }
.tab-btn {
    background: none; border: none; padding: 12px 5px; cursor: pointer; font-size: 14px; color: #999; font-weight: 500;
}
.tab-btn.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }

.tab-content { display: none; padding: 10px 0; }
.tab-content.active { display: block; }




/*.drop-zone {
    border: 2px dashed var(--primary-color); padding: 40px; text-align: center; color: var(--primary-color); border-radius: 8px; cursor: pointer; background: rgba(104, 195, 159, 0.05);
}
.drop-zone.mini { padding: 20px; font-size: 13px; }



*/


.btn-primary {
    background: var(--primary-color); color: white; border: none; padding: 15px; border-radius: 6px; cursor: pointer; width: 100%; font-weight: bold; font-size: 15px; margin-top: 20px;
}
.btn-secondary { background: #fff; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 8px 16px; border-radius: 4px; cursor: pointer; margin-top: 10px; }

.status-panel { margin-top: 30px; padding: 20px; border: 1px solid var(--primary-color); border-radius: 8px; }
.progress-steps { margin-bottom: 15px; font-size: 13px; color: #ccc; }
.progress-steps span.active { color: var(--primary-color); font-weight: bold; }

textarea#logArea { height: 120px; margin-top: 10px; font-family: 'Courier New', monospace; background: #fafafa; border: none; padding: 10px; font-size: 12px; }
.success-box { margin-top: 10px; color: var(--primary-color); font-weight: bold; font-size: 14px; }

table { width: 100%; border-collapse: collapse; margin-top: 30px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; color: #aaa; padding: 10px; border-bottom: 1px solid #eee; }
td { padding: 15px 10px; border-bottom: 1px solid #f9f9f9; font-size: 14px; }
.badge.success { color: var(--primary-color); font-weight: bold; }
.hidden { display: none; }



/* The Large Panel Style */
.drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-color);
    background: rgba(104, 195, 159, 0.03);
    padding: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
}

.drop-zone:hover {
    background: rgba(104, 195, 159, 0.08);
}

.drop-zone .hint {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    font-weight: normal;
}

/* Original Progress/Status Styles */
.progress-container {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin-top: 15px;
    display: none; /* Shown by JS during upload */
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: rgb(104, 195, 159);
    border-radius: 4px;
    transition: width 0.3s;
}

.status-message {
    font-size: 13px;
    margin-top: 10px;
}

.status-success { color: rgb(104, 195, 159); font-weight: bold; }
.status-error { color: #ff4d4f; font-weight: bold; }

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    background: #f4f4f4;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

.remove-btn {
    margin-left: 10px;
    color: #ff4d4f;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: bold;
}

/*upload UI */

/* Previous UI Components */
.div_td_align { vertical-align: top; padding: 10px; }
.div_upload_file_cross_square {
    width: 80px; height: 80px; border: 2px dashed #ddd;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; background: #fafafa; border-radius: 4px;
}
.div_upload_file_cross {
    width: 20px; height: 2px; background: #ccc; position: relative;
}
.div_upload_file_cross::after {
    content: ""; width: 2px; height: 20px; background: #ccc;
    position: absolute; top: -9px; left: 9px;
}

.preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.service-selection-section { margin-bottom: 40px; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.service-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    max-width: 200px;
}

.service-card:hover { border-color: var(--primary-color); background: rgba(104, 195, 159, 0.02); }
.service-card.selected {
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(104, 195, 159, 0.15);
}

.service-card h4 { margin: 0 0 8px 0; color: #333; font-size: 15px; }
.service-card p { margin: 0; font-size: 12px; color: #777; font-family: monospace; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.btn-pagination {
    background: none; border: 1px solid #ddd; padding: 5px 12px;
    border-radius: 4px; cursor: pointer; font-size: 13px;
}
.btn-pagination:disabled { opacity: 0.3; cursor: not-allowed; }


#urlPreview {
    font-weight: bold;
    font-size: 16px;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
    padding: 10px;
    border: 2px solid transparent; /* Prepared for error highlight */
    border-radius: 12px;
    transition: border 0.3s ease;
}

/* Ensure the button looks clickable but has a nice hover effect */
.btn-primary {
    background: var(--primary-color);
    transition: transform 0.1s, background 0.2s;
}

.btn-primary:active {
    transform: scale(0.98);
}
