/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://omusomesa.com/
Description: A child theme for Twenty Twenty-Five tailored for Omusomesa - The Smart Teacher (Ugandan Secondary Education AI Assistant) featuring 3D interactive components, Marking Guide & Scoring Guide styling, Continuous Assessment (CAI) Psychomotor & Affective domain styling, and full curricular navigation.
Author: Remedial Corner
Author URI: https://omusomesa.com/
Template: twentytwentyfive
Version: 1.3.0
Text Domain: twentytwentyfive-child
*/

/* ==========================================================================
   3D Design System & Interactive Depth Components
   Smart Teacher - Ugandan Secondary Education Assistant
   ========================================================================== */

/* 3D Elevated Cards & Feature Containers */
.st-3d-card,
.st-3d-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 
        0 10px 25px -5px rgba(15, 23, 42, 0.08),
        0 8px 10px -6px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.st-3d-card:hover,
.st-3d-feature-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: #cbd5e1;
    box-shadow: 
        0 25px 40px -12px rgba(15, 23, 42, 0.16),
        0 12px 18px -6px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* 3D Isometric Image Display Frames */
.st-3d-frame {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 
        0 20px 35px -10px rgba(15, 23, 42, 0.14),
        0 6px 12px -4px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-3d-frame:hover {
    transform: translateY(-6px) perspective(1000px) rotateX(1deg);
    box-shadow: 
        0 30px 50px -15px rgba(15, 23, 42, 0.22),
        0 12px 20px -6px rgba(15, 23, 42, 0.12);
}

.st-3d-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.st-3d-frame:hover img {
    transform: scale(1.025);
}

/* 3D Tactile Action Buttons */
.st-3d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 4px 0 #115e59, 0 8px 16px rgba(13, 148, 136, 0.25);
    transition: all 0.15s ease-in-out;
}

.st-3d-btn:hover {
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #115e59, 0 12px 20px rgba(13, 148, 136, 0.3);
}

.st-3d-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #115e59, 0 2px 4px rgba(13, 148, 136, 0.2);
}

.st-3d-btn-blue {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 0 #1e40af, 0 8px 16px rgba(37, 99, 235, 0.25);
}

.st-3d-btn-blue:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 0 #1e40af, 0 12px 20px rgba(37, 99, 235, 0.3);
}

.st-3d-btn-blue:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #1e40af, 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* 3D Pill Badges & Competency Tags */
.st-3d-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 9999px;
    color: #ffffff;
    background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 3px 6px rgba(13, 148, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.st-3d-badge-blue {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 3px 6px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.st-3d-badge-amber {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 3px 6px rgba(217, 119, 6, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.st-3d-badge-purple {
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
    box-shadow: 0 3px 6px rgba(109, 40, 217, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 3D Step Counters */
.st-3d-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    background: radial-gradient(circle at 35% 35%, #14b8a6, #0f766e);
    box-shadow: 
        0 4px 10px rgba(15, 118, 110, 0.35),
        inset 0 2px 2px rgba(255, 255, 255, 0.6),
        inset 0 -2px 2px rgba(0, 0, 0, 0.2);
}

/* 3D Comparison Table Styling */
.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.wp-block-table.is-style-stripes table {
    min-width: 620px;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}

.wp-block-table.is-style-stripes th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem 1.25rem;
    letter-spacing: 0.02em;
}

.wp-block-table.is-style-stripes td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.wp-block-table.is-style-stripes tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* ==========================================================================
   Continuous Assessment (CAI) & Sub-Part Task Builder Styles (v1.2.0)
   ========================================================================== */

.st-cai-domain-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.st-cai-level-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.st-sheet-cai .st-table th {
    background: #0f172a;
    color: #ffffff;
}

.st-subpart-builder-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px;
    margin-top: 10px;
}

/* Marking Guide & Scoring Guide Generator Styles (v1.3.0) */
.st-mg-upload-zone:hover {
    background: #f0fdfa !important;
    border-color: #0f766e !important;
}

.st-sheet-marking-guide .st-mg-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e2e8f0;
}

.st-sheet-marking-guide .st-mg-examiner-notes {
    background: #f8fafc;
    border-left: 3px solid #0284c7;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Mobile & Multi-Device Optimization (Child Theme)
   ========================================================================== */

@media screen and (max-width: 768px) {
    .st-3d-card,
    .st-3d-feature-card {
        padding: 1.25rem;
    }

    .st-3d-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Prevent sticky hover shifts on touch screens */
    @media (hover: none) {
        .st-3d-card:hover,
        .st-3d-feature-card:hover,
        .st-3d-frame:hover {
            transform: none;
        }
    }
}

