/* /public/css/theme/school/components/buttons.css */

button {
    margin: .5rem;
    padding: 1rem;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background: transparent;
    border: 3px solid var(--brandColor);
}
button:hover {
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-color: white;
}

.btn-primary.is-active-nav {
    /*
     * Uses box-shadow instead of border to prevent the button
     * from changing height and pushing other elements around.
     * The color is a standard primary yellow (#FFD700) - change it
     * to match your exact brand CSS variable if you have one.
     */
    box-shadow: inset 0 -4px 0 0 var(--colorDarkYellow);

    /* Optional: slightly dim the text or change background to emphasize it's active */
    opacity: 1;
}

.detailed-card-button {
    background-color: transparent;
    border: 2px solid var(--colorDarkYellow);
    text-decoration: none;
    margin: 1rem;
    padding: 1rem;
    color: var(--colorDarkYellow);
    border-radius: 5rem;
    min-width: 20vw;
    text-align: center;
}

.detailed-card-button:hover {
    background-color: var(--colorDarkYellow);
    color: var(--colorWhite);
}

/* 1. The base disabled look */
.detailed-card-button.disabled {
    background-color: var(--colorGrey2, #e0e0e0);
    border: 2px solid var(--colorGrey2, #e0e0e0);
    color: #888888;
    cursor: not-allowed;
}

/* 2. Kill the hover effect by forcing the exact same colors */
.detailed-card-button.disabled:hover,
.detailed-card-button.disabled:focus,
.detailed-card-button.disabled:active {
    background-color: var(--colorGrey2, #e0e0e0);
    border: 2px solid var(--colorGrey2, #e0e0e0);
    color: #888888;
    cursor: not-allowed;
}

.review-original {
    background-color: var(--colorGrey2);
    box-shadow: 0 0.2rem 0.8rem 0.1rem rgb(0 0 0 / 50%);
    color: white;
    border: 1px solid var(--colorGrey);
    border-radius: 1rem;
    margin: .5rem;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.review-original:hover {
    background-color: var(--colorDarkYellow);
    color: var(--colorBlack);
    transition: all 0.2s ease;
}

.success-marketing-button {
    width: 25vw;
}

.legal-button {
    color: var(--colorBlack);
    text-decoration: none;
    font-family: "Futura Book Cyrillic", "Futura Book", sans-serif;
    font-size: var(--paragraph);
    margin: .5rem 2rem;
}
.legal-button:hover {
    text-decoration: underline;
}
.legal-button-in-form {
    color: var(--colorDarkGrey);
    text-decoration: none;
    font-family: "Futura Book Cyrillic", "Futura Book", sans-serif;
    font-size: var(--paragraph);
}
.legal-button-in-form:hover {
    text-decoration: underline;
}


/* MOBILE LAYOUT (Screens smaller than 768px) */
@media (max-width: 768px) {
    .detailed-card-button {
        min-width: 40vw;
    }
}