﻿/* =========================================================
   COMPACT HERO
   Shared Etail360-style hero card
   ========================================================= */

.compact-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 28px 30px;
    background: linear-gradient( 135deg, #ffffff 0%, #f3f7fc 100% );
    border: 1px solid #dce6f1;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}


/* =========================================================
   HERO COPY
   ========================================================= */

.compact-hero-copy {
    min-width: 0;
}


/* =========================================================
   HERO TITLE PILL
   ========================================================= */

.hero-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px 14px;
    background: #d9ecff;
    border: 1px solid #9fc9f3;
    border-radius: 999px;
    color: #0b4f7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}


/* =========================================================
   ADMIN HERO SECTION PILL
   ========================================================= */

.admin-section-pill {
    background: #e4f6ea;
    border: 1px solid #a8dcb8;
    color: #23643e;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.compact-title {
    margin: 0;
    color: #102a43;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}


/* =========================================================
   HERO SUBTITLE
   ========================================================= */

.compact-subtitle {
    margin: 7px 0 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   OPTIONAL HERO ACTIONS
   ========================================================= */

.compact-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .compact-hero {
        padding: 20px;
    }

    .compact-title {
        font-size: 23px;
    }
}

/* =========================================================
   LANDING SECTION CARD
   Main card used to contain landing-page choices
   ========================================================= */

.landing-section-card {
    background: #ffffff;
    border: 1px solid #dce6f1;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.landing-section-body {
    padding: 24px 26px 28px;
}


/* =========================================================
   LANDING SECTION HEADER
   ========================================================= */

.landing-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 5px;
    color: #16324a;
    font-size: 17px;
    font-weight: 700;
}

    .landing-section-title i {
        color: #0b5d8f;
    }

.landing-section-description {
    margin: 0 0 20px;
    color: #718096;
    font-size: 13px;
}


/* =========================================================
   LANDING CHOICE GRID
   ========================================================= */

.landing-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 16px;
}


/* =========================================================
   LANDING CHOICE CARD
   ========================================================= */

.landing-choice-card {
    display: flex;
    flex-direction: column;
    min-height: 225px;
    padding: 20px;
    background: linear-gradient( 180deg, #ffffff 0%, #fbfcfe 100% );
    border: 1px solid #dde6ef;
    border-radius: 12px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .landing-choice-card:hover {
        transform: translateY(-2px);
        border-color: #bfd0e0;
        box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
    }


/* =========================================================
   LANDING CHOICE ICON
   ========================================================= */

.landing-choice-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #e8f3fb;
    color: #136b9b;
    font-size: 20px;
}


    /* Optional icon accents */

    .landing-choice-icon.admin {
        background: #edf0f4;
        color: #425466;
    }

    .landing-choice-icon.gold {
        background: #fff4d6;
        color: #b7791f;
    }

    .landing-choice-icon.blue {
        background: #e8f3fb;
        color: #136b9b;
    }

    .landing-choice-icon.green {
        background: #edf7f1;
        color: #3d7c5b;
    }


/* =========================================================
   LANDING CHOICE CONTENT
   ========================================================= */

.landing-choice-title {
    margin: 0 0 7px;
    color: #16324a;
    font-size: 17px;
    font-weight: 700;
}

.landing-choice-description {
    margin: 0 0 18px;
    color: #6b7b8d;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   LANDING CHOICE ACTION
   ========================================================= */

.landing-choice-action {
    margin-top: auto;
}

.landing-choice-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #cddbe7;
    border-radius: 8px;
    color: #0b4f7d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

    .landing-choice-btn:hover {
        background: #0b4f7d;
        border-color: #0b4f7d;
        color: #ffffff;
    }


/* =========================================================
   LANDING SECTION RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .landing-section-body {
        padding: 20px;
    }

    .landing-choice-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PAGE SECTION NAVIGATION
   Shared tab navigation used between related full pages
   ========================================================= */

.page-section-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dce6f1;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .035);
    overflow-x: auto;
    overflow-y: hidden;
}


/* =========================================================
   NAVIGATION TAB
   ========================================================= */

.page-section-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #36556f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    .page-section-tab i {
        font-size: 16px;
    }


    /* =========================================================
   HOVER
   ========================================================= */

    .page-section-tab:hover {
        background: #f3f7fb;
        border-color: #d9e5ef;
        color: #0b4f7d;
    }


    /* =========================================================
   ACTIVE
   ========================================================= */

    .page-section-tab.active {
        background: linear-gradient( 135deg, #ffd579 0%, #f4bd55 100% );
        border-color: #edba57;
        color: #082b47;
        font-weight: 800;
        box-shadow: 0 3px 8px rgba(15, 23, 42, .08);
    }


/* =========================================================
   ADMIN HERO
   ========================================================= */

.admin-hero-top-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.admin-hero-left {
    min-width: 280px;
    flex: 1 1 auto;
}

.compact-actions-right {
    margin-left: auto;
}

.admin-hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 600;
    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .admin-hero-top-row {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-hero-left,
    .compact-actions-right {
        width: 100%;
    }

    .admin-hero-action-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .page-section-navigation {
        justify-content: flex-start;
    }
}

/* =========================================================
   PREMIUM PAGE SHELL
   ========================================================= */

.premium-page-shell {
    width: 100%;
    min-height: 100vh;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f5f7fb;
}


/* =========================================================
   FULL PAGE LAYOUT
   ========================================================= */

.register-layout-body {
    background: #f5f7fb;
}

.register-layout-shell {
    min-height: 100vh;
    background: #f5f7fb;
}

.register-layout-main {
    width: 100%;
    padding-left: 28px;
    padding-right: 28px;
    background: #f5f7fb;
}

@media (max-width: 768px) {
    .register-layout-main {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   LANDING CHOICE GRID - 3 COLUMN VARIANT
   ========================================================= */

.landing-choice-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 991.98px) {
    .landing-choice-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .landing-choice-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   LANDING CHOICE GRID - 4 COLUMN VARIANT
   ========================================================= */

.landing-choice-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199.98px) {
    .landing-choice-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .landing-choice-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   INVITE USERS - 30 / 70 LAYOUT
   ========================================================= */

.invite-users-grid {
    display: grid;
    grid-template-columns: minmax(280px, 3fr) minmax(0, 7fr);
    gap: 20px;
    align-items: start;
}

@media (max-width: 1100px) {
    .invite-users-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BOWLER WORKSPACE HERO
   ========================================================= */

.bowler-photo-hero {
    height: 175px;
    margin-bottom: 20px;
    padding: 22px 28px;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 16px;
    background-image: linear-gradient( 90deg, rgba(4, 27, 47, 0.94) 0%, rgba(4, 27, 47, 0.80) 38%, rgba(4, 27, 47, 0.44) 70%, rgba(4, 27, 47, 0.25) 100% ), url('/images/bowling%20background.png');
    background-size: cover;
    background-position: center 48%;
    background-repeat: no-repeat;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.13);
}


.bowler-photo-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO TOP
   ========================================================= */

.bowler-photo-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   HERO PILLS
   ========================================================= */

.bowler-photo-hero-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}


.bowler-photo-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


    .bowler-photo-pill.green {
        border-color: rgba(167, 243, 208, 0.48);
        background: rgba(34, 197, 94, 0.18);
        color: #dcfce7;
    }


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.bowler-photo-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


.bowler-photo-hero .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   HERO MAIN
   ========================================================= */

.bowler-photo-hero-main {
    max-width: 760px;
    margin-top: 10px;
}


.bowler-photo-name {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: clamp(27px, 2.4vw, 36px);
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.30);
}


.bowler-photo-subtitle {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .bowler-photo-hero {
        height: auto;
        min-height: 190px;
        padding: 18px 20px;
        background-position: center 48%;
    }


    .bowler-photo-hero-top {
        flex-direction: column;
    }


    .bowler-photo-hero-actions {
        width: 100%;
    }


        .bowler-photo-hero-actions .btn {
            flex: 1;
        }


    .bowler-photo-hero-main {
        margin-top: 20px;
    }
}

/* =========================================================
   BOWLER WORKSPACE NAVIGATION
   ========================================================= */

.bowler-section-navigation {
    margin-bottom: 20px;
}


.bowler-nav-placeholder {
    cursor: default;
    user-select: none;
}

/* =========================================================
   BOWLER ASSIGNMENT CARDS
   ========================================================= */

.bowler-assignment-card {
    height: 100%;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dce6f3;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}


.bowler-assignment-title {
    margin-bottom: 12px;
    color: #0b4f7d;
    font-size: 16px;
    font-weight: 800;
}


.bowler-assignment-line {
    margin-bottom: 6px;
    color: #475569;
}


.bowler-assignment-line strong {
        color: #1f2937; 

}

/* =========================================================
   ALLEY WORKSPACE HERO
   ========================================================= */

.alley-photo-hero {
    height: 175px;
    margin-bottom: 20px;
    padding: 22px 28px;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 16px;
    background-image: linear-gradient( 90deg, rgba(4, 27, 47, 0.94) 0%, rgba(4, 27, 47, 0.80) 38%, rgba(4, 27, 47, 0.44) 70%, rgba(4, 27, 47, 0.25) 100% ), url('/images/bowling%20background.png');
    background-size: cover;
    background-position: center 48%;
    background-repeat: no-repeat;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.13);
}


.alley-photo-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}


.alley-photo-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}


.alley-photo-hero-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}


.alley-photo-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


    .alley-photo-pill.green {
        border-color: rgba(167, 243, 208, 0.48);
        background: rgba(34, 197, 94, 0.18);
        color: #dcfce7;
    }


.alley-photo-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


.alley-photo-hero .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
}


.alley-photo-hero-main {
    max-width: 760px;
    margin-top: 10px;
}


.alley-photo-name {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: clamp(27px, 2.4vw, 36px);
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.30);
}


.alley-photo-subtitle {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
}


.alley-section-navigation {
    margin-bottom: 20px;
}


@media (max-width: 768px) {

    .alley-photo-hero {
        height: auto;
        min-height: 190px;
        padding: 18px 20px;
        background-position: center 48%;
    }


    .alley-photo-hero-top {
        flex-direction: column;
    }


    .alley-photo-hero-actions {
        width: 100%;
    }


        .alley-photo-hero-actions .btn {
            flex: 1;
        }


    .alley-photo-hero-main {
        margin-top: 20px;
    }
}