/* ABA Exam — SVG Illustration Styles */

/* Inline SVG icon containers */
.aba-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aba-icon svg {
    width: 100%;
    height: 100%;
}

.aba-icon-sm { width: 16px; height: 16px; }
.aba-icon-md { width: 24px; height: 24px; }
.aba-icon-lg { width: 32px; height: 32px; }
.aba-icon-xl { width: 48px; height: 48px; }

/* Illustration containers */
.aba-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

/* Exam type cards on dashboard */
.aba-exam-type-card {
    position: relative;
    background: var(--aba-white);
    border-radius: var(--aba-radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.aba-exam-type-card:hover {
    border-color: var(--aba-blue);
    transform: translateY(-4px);
    box-shadow: var(--aba-shadow-lg);
}

.aba-exam-type-card.selected {
    border-color: var(--aba-blue);
    background: var(--aba-ice);
}

.aba-exam-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: var(--aba-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.aba-exam-type-icon.soe {
    background: linear-gradient(135deg, var(--aba-pale-blue), var(--aba-sky));
}

.aba-exam-type-icon.osce {
    background: linear-gradient(135deg, #d1fae5, #6ee7b7);
}

.aba-exam-type-icon.full {
    background: linear-gradient(135deg, #ede9fe, #a78bfa);
}

.aba-exam-type-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--aba-navy);
    margin-bottom: 8px;
}

.aba-exam-type-desc {
    font-size: 14px;
    color: var(--aba-gray-500);
    line-height: 1.5;
}

.aba-exam-type-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 14px;
    background: var(--aba-gray-100);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aba-gray-600);
}

.aba-exam-type-duration .aba-duration-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex-shrink: 0;
    display: block;
    color: var(--aba-gray-600);
}

/* Station type indicators */
.aba-station-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.aba-station-type-badge.communication {
    background: #dbeafe;
    color: #1d4ed8;
}

.aba-station-type-badge.monitors {
    background: #fef3c7;
    color: #92400e;
}

.aba-station-type-badge.ultrasound {
    background: #d1fae5;
    color: #065f46;
}

/* Phase indicator strip */
.aba-phase-strip {
    display: flex;
    gap: 4px;
    padding: 16px 24px;
    background: var(--aba-gray-100);
    border-radius: var(--aba-radius);
}

.aba-phase-segment {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--aba-gray-300);
    transition: background 0.3s ease;
    position: relative;
}

.aba-phase-segment.completed {
    background: var(--aba-green);
}

.aba-phase-segment.active {
    background: var(--aba-blue);
    animation: aba-phase-pulse 2s ease infinite;
}

@keyframes aba-phase-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.aba-phase-segment.upcoming {
    background: var(--aba-gray-200);
}

.aba-phase-segment-label {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    white-space: nowrap;
    color: var(--aba-gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* History cards */
.aba-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--aba-white);
    border-radius: var(--aba-radius);
    margin-bottom: 8px;
    border: 1px solid var(--aba-gray-200);
    transition: border-color 0.2s;
}

.aba-history-item:hover {
    border-color: var(--aba-blue);
}

.aba-history-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aba-history-date {
    font-size: 13px;
    color: var(--aba-gray-500);
}

.aba-history-type {
    font-size: 15px;
    font-weight: 600;
    color: var(--aba-navy);
}

.aba-history-score {
    font-size: 20px;
    font-weight: 700;
    color: var(--aba-blue);
}

/* Orientation slide styling */
.aba-orientation-slide {
    background: var(--aba-white);
    border-radius: var(--aba-radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--aba-shadow);
}

.aba-orientation-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.aba-orientation-icon.soe {
    background: var(--aba-pale-blue);
}

.aba-orientation-icon.osce {
    background: #d1fae5;
}

.aba-orientation-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--aba-navy);
    margin-bottom: 12px;
}

.aba-orientation-text {
    font-size: 15px;
    color: var(--aba-gray-600);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 24px;
}

.aba-orientation-rules {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.aba-orientation-rule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--aba-gray-700);
}

.aba-orientation-rule-num {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--aba-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
