/* Jeff's Architecture - Skin Misc & Utilities
   File: skins/default/css/misc.css
*/

/* --- 1. FLASH MESSAGES (Hardcoded PHP) --- */
/* Success Message (.formMessage) */
.formMessage {
    background-color: rgba(16, 185, 129, 0.1); /* Low opacity emerald */
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.formMessage::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--success);
    color: var(--bg-body);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Error Message (.error) */
.error {
    background-color: rgba(239, 68, 68, 0.1); /* Low opacity red */
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.error::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--danger);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* --- 2. PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 2rem;
}

.pagination .app-btn {
    padding: 0.5rem 0.8rem;
    min-width: 36px;
    text-align: center;
}

/* --- 3. WIZARD PROGRESS (Signup) --- */
.wizard-progress-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.step > div:first-child {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    line-height: 26px;
    margin: 0 auto;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step > div:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 600;
}

.step.active > div:first-child {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.step.active > div:last-child {
    color: var(--primary);
}

.step.completed > div:first-child {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* --- 4. BREADCRUMBS --- */
.breadcrumb-nav {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1.5rem; /* Added Top Margin */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav a.active {
    color: var(--text-main);
    font-weight: 600;
    pointer-events: none;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    opacity: 0.5;
    font-size: 0.7rem;
}

/* --- 5. UTILITIES --- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.m-0 { margin: 0 !important; }
.p-0 { padding: 0 !important; }

.w-100 { width: 100% !important; }