/* Page Specific Styles */

.loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary-100);
    border-bottom-color: var(--primary-600);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

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

.error-page {
    text-align: center;
    padding: 60px 20px;
}

.error-page h2 {
    font-family: var(--font-heading);
    color: var(--error);
    margin-bottom: 12px;
}

/* Form Wizard Styles */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    padding: 0 10px;
    text-align: center;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 700;
    color: var(--text-muted);
}

.step.active .step-circle {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: #fff;
}

.step.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step.active .step-label {
    color: var(--primary-600);
}

/* Quote Cards */
.quote-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition-base);
    position: relative;
    cursor: pointer;
}

.quote-card:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.quote-card.selected {
    border-color: var(--primary-600);
    background: var(--primary-50);
    box-shadow: var(--shadow-premium);
}

.quote-card.selected::after {
    content: '\eb7a';
    font-family: 'remixicon';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-600);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.company-logo-sm {
    height: 30px;
    margin-bottom: 15px;
}

/* Table Actions */
.table-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.action-btn:hover {
    background: var(--primary-100);
    color: var(--primary-600);
}

.action-btn.danger:hover {
    background: var(--error-bg);
    color: var(--error);
}
