/**
 * Theme Button Fixes — Surgical Version
 * FILE: /wp-content/themes/astra-child/theme-buttons.css
 *
 * Philosophy: Target specific elements, not broad rules.
 * Each fix is scoped to the exact button it solves.
 */

/* ─────────────────────────────────────────────────────────────
   1. PRIMARY BUTTONS (.tutor-btn-primary)
   Maroon bg, white text, no hover change
   ───────────────────────────────────────────────────────────── */
.tutor-btn-primary,
a.tutor-btn-primary,
button.tutor-btn-primary {
    background-color: #630320 !important;
    color: #ffffff !important;
    border-color: #630320 !important;
}

.tutor-btn-primary:hover,
.tutor-btn-primary:focus,
.tutor-btn-primary:active,
a.tutor-btn-primary:hover,
a.tutor-btn-primary:focus,
button.tutor-btn-primary:hover,
button.tutor-btn-primary:focus {
    background-color: #630320 !important;
    color: #ffffff !important;
    border-color: #630320 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ─────────────────────────────────────────────────────────────
   2. OUTLINE BUTTONS — transparent bg, no hover change
   ───────────────────────────────────────────────────────────── */
.tutor-btn-outline-primary,
a.tutor-btn-outline-primary,
button.tutor-btn-outline-primary {
    background-color: transparent !important;
    color: #630320 !important;
    border-color: #630320 !important;
}

.tutor-btn-outline-primary:hover,
.tutor-btn-outline-primary:focus,
a.tutor-btn-outline-primary:hover,
button.tutor-btn-outline-primary:hover {
    background-color: transparent !important;
    color: #630320 !important;
    border-color: #630320 !important;
}

/* ─────────────────────────────────────────────────────────────
   3. WHITE BUTTONS — no bg change on hover
   ───────────────────────────────────────────────────────────── */
.tutor-btn-white,
a.tutor-btn-white,
button.tutor-btn-white {
    background-color: #ffffff !important;
    color: #630320 !important;
}

.tutor-btn-white:hover,
.tutor-btn-white:focus {
    background-color: #ffffff !important;
    color: #630320 !important;
}

/* ─────────────────────────────────────────────────────────────
   4. BUILD COURSE WITH AI button — no hover color change
   ───────────────────────────────────────────────────────────── */
#tnbAiOpen,
#tnbAiBtnWrap button {
    background-color: #630320 !important;
    color: #ffffff !important;
    border: 2px solid #630320 !important;
}

#tnbAiOpen:hover,
#tnbAiOpen:focus,
#tnbAiBtnWrap button:hover,
#tnbAiBtnWrap button:focus {
    background-color: #630320 !important;
    color: #ffffff !important;
    border-color: #630320 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ─────────────────────────────────────────────────────────────
   5. SURGICAL FIX — "Go to Dashboard" button on
   Instructor Application Submitted page

   Targets ONLY this exact button via its parent wrapper +
   utility class combination. Will not affect any other anchor.
   ───────────────────────────────────────────────────────────── */
.tutor-instructor-apply-button a.tutor-bg-primary.tutor-color-white {
    background-color: #630320 !important;
    color: #ffffff !important;
    border: 1px solid #630320 !important;
    text-decoration: none !important;
}

.tutor-instructor-apply-button a.tutor-bg-primary.tutor-color-white:hover,
.tutor-instructor-apply-button a.tutor-bg-primary.tutor-color-white:focus,
.tutor-instructor-apply-button a.tutor-bg-primary.tutor-color-white:active,
.tutor-instructor-apply-button a.tutor-bg-primary.tutor-color-white:visited {
    background-color: #630320 !important;
    color: #ffffff !important;
    border-color: #630320 !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}