@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.oneduc-360-container {
    max-width: 1050px;
    margin: 20px auto;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1e293b;
}

.oneduc-step { display: none; }
.oneduc-step.active { display: block; }

/* Welcome Form */
.oneduc-welcome-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.oneduc-pill {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.oneduc-inline-form {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.oneduc-input-wrap input {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 260px;
    font-size: 14px;
}

.oneduc-btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Executive Header */
.oneduc-executive-card {
    background: #111827;
    color: white;
    border-radius: 14px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exec-badge {
    background: #2563eb;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.exec-title {
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0 4px 0;
    color: #ffffff;
}

.exec-date {
    color: #9ca3af;
    font-size: 13px;
    margin: 0;
}

.score-ring-box {
    background: rgba(255,255,255,0.05);
    border: 2px solid #374151;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.score-number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.score-max {
    font-size: 11px;
    color: #9ca3af;
}

.score-status-tag {
    font-size: 10px;
    background: #22c55e;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
    font-weight: 700;
}

/* Dashboard Cards */
.oneduc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.oneduc-card-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.mar-top { margin-top: 20px; }

.chart-container {
    height: 220px;
    position: relative;
}

.pilar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pilar-badge {
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
}

/* List Checks */
.check-list { display: flex; flex-direction: column; gap: 10px; }

.check-item {
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #cbd5e1;
    background: #f9fafb;
}

.status-pass { border-left-color: #22c55e; background: #f0fdf4; }
.status-warn { border-left-color: #f59e0b; background: #fffbeb; }
.status-fail { border-left-color: #ef4444; background: #fef2f2; }

.check-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.check-desc { font-size: 12.5px; color: #4b5563; }

/* Table */
.oneduc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.oneduc-table th, .oneduc-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.oneduc-table th { background: #f9fafb; font-weight: 700; }

.risk-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 700;
}

.risk-medium { background: #fef3c7; color: #d97706; }
.risk-critical { background: #fee2e2; color: #dc2626; }

/* Actions Bar */
.oneduc-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.oneduc-btn-print {
    background: #1e293b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.oneduc-btn-reload {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Loader */
.oneduc-loader-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.oneduc-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px auto;
}

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