@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* =========================================================
   PROJECT BREAKING POINT - GLOBAL THEME
   ========================================================= */

:root {
    --bp-bg: #121212;
    --bp-surface: #1e1e1e;
    --bp-surface-2: #252525;
    --bp-border: #303030;
    --bp-text: #f5f5f5;
    --bp-muted: #d0d0d0;
    --bp-accent: #ff9800;
    --bp-danger: #ff1744;
    --bp-pve: #4caf50;
    --bp-pvp: #ff5722;
    --bp-live: #2196f3;
}

/* =========================================================
   BASE
   ========================================================= */

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: transparent !important;
    min-height: 100%;
}

body {
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), url("/images/background.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(5px);
        transform: scale(1.03);
        z-index: 0;
        pointer-events: none;
    }

#app,
.rz-layout {
    position: relative;
    z-index: 1;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

/* =========================================================
   DEFAULT BLAZOR STUFF
   ========================================================= */

a,
.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* =========================================================
   BLAZOR ERROR UI
   ========================================================= */

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    padding: .6rem 1.25rem .7rem 1.25rem;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* =========================================================
   RADZEN SCHEDULER DARK
   ========================================================= */

.rz-scheduler,
.rz-scheduler-content,
.rz-scheduler-view,
.rz-scheduler-month-view,
.rz-scheduler-week-view,
.rz-scheduler-day-view {
    background: var(--bp-surface) !important;
    color: var(--bp-text) !important;
}

.rz-scheduler-header,
.rz-scheduler-toolbar {
    background: var(--bp-surface-2) !important;
    color: var(--bp-text) !important;
    border-color: var(--bp-border) !important;
}

.rz-scheduler-table td,
.rz-scheduler-table th {
    border-color: var(--bp-border) !important;
    color: var(--bp-text) !important;
}

.rz-scheduler-nav,
.rz-scheduler-view-button {
    color: var(--bp-text) !important;
}

.rz-scheduler-now-line {
    border-top: 2px solid var(--bp-danger) !important;
}

.rz-scheduler-now {
    background: var(--bp-danger) !important;
}

/* =========================================================
   PAST SLOTS
   ========================================================= */

.bp-slot-past {
    position: relative;
    background: rgba(120, 0, 0, .18) !important;
}

    .bp-slot-past::after {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( -45deg, rgba(180,0,0,.22) 0px, rgba(180,0,0,.22) 8px, transparent 8px, transparent 16px );
        pointer-events: none;
    }

/* =========================================================
   CALENDAR EVENT CARDS
   ========================================================= */

.bp-calendar-event {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 7px;
    border-radius: 8px;
    border-left: 4px solid var(--bp-accent);
    background: var(--bp-surface-2);
    color: var(--bp-text);
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.bp-calendar-event-pve {
    border-left-color: var(--bp-pve);
}

.bp-calendar-event-pvp {
    border-left-color: var(--bp-pvp);
}

.bp-calendar-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    filter: blur(2px);
    opacity: .65;
}

.bp-calendar-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(0,0,0,.58), rgba(0,0,0,.30) );
}

.bp-calendar-content {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-width: 0;
    max-height: 100%;
}
.bp-scheduler-appointment{
    height: 100% !important
}

.bp-calendar-title {
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0,0,0,.75);
}

.bp-calendar-meta {
    font-size: 11px;
    color: #e0e0e0;
    text-shadow: 0 2px 8px rgba(0,0,0,.75);
}

.bp-calendar-type {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 7px;
    border-radius: 99px;
    background: var(--bp-accent);
    color: #111;
    font-size: 10px;
    font-weight: bold;
}

.bp-calendar-past,
.bp-calendar-past-inner {
    opacity: .55;
    filter: grayscale(80%);
}

.bp-calendar-live {
    box-shadow: 0 0 0 2px var(--bp-live), 0 0 18px rgba(33,150,243,.8) !important;
    animation: bp-live-pulse 1.6s infinite;
}

.bp-calendar-soon {
    box-shadow: 0 0 0 2px var(--bp-accent), 0 0 18px rgba(255,152,0,.7) !important;
}

@keyframes bp-live-pulse {
    0% {
        box-shadow: 0 0 0 2px var(--bp-live), 0 0 12px rgba(33,150,243,.6);
    }

    50% {
        box-shadow: 0 0 0 2px var(--bp-live), 0 0 28px rgba(33,150,243,1);
    }

    100% {
        box-shadow: 0 0 0 2px var(--bp-live), 0 0 12px rgba(33,150,243,.6);
    }
}

/* =========================================================
   NEXT EVENT HERO
   ========================================================= */

.bp-next-event {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--bp-border);
    background: var(--bp-surface);
    box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.bp-next-event-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.04);
    opacity: .55;
}

.bp-next-event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,.86), rgba(0,0,0,.48), rgba(0,0,0,.78) );
}

.bp-next-event-content {
    position: relative;
    z-index: 2;
    padding: 26px 32px;
    color: white;
}

.bp-next-event-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bp-accent);
    color: #111;
    font-weight: bold;
    font-size: 12px;
}

.bp-next-event-title {
    margin-bottom: 6px;
    font-size: 34px;
    font-weight: 800;
    color: white;
}

.bp-next-event-meta {
    margin-bottom: 10px;
    color: #ddd;
    font-size: 15px;
}

.bp-next-event-countdown {
    margin-bottom: 10px;
    color: var(--bp-accent);
    font-size: 20px;
    font-weight: bold;
}

.bp-next-event-description {
    max-width: 780px;
    color: var(--bp-muted);
    font-size: 14px;
}

/* =========================================================
   COOKIE + LEGAL
   ========================================================= */

.bp-cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    background: rgba(25,25,25,.94);
    border: 1px solid var(--bp-border);
    border-left: 5px solid var(--bp-accent);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.6);
    backdrop-filter: blur(10px);
    animation: bp-cookie-slide .35s ease-out;
}

.bp-cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 22px;
    color: var(--bp-text);
}

.bp-cookie-title {
    margin-bottom: 4px;
    color: var(--bp-accent);
    font-weight: 800;
}

.bp-cookie-text {
    color: #ddd;
    font-size: 14px;
}

.bp-legal-card {
    max-width: 980px;
    background: rgba(30,30,30,.9) !important;
    color: var(--bp-text) !important;
    border: 1px solid var(--bp-border) !important;
    backdrop-filter: blur(10px);
}

    .bp-legal-card h4 {
        margin-top: 22px;
        color: var(--bp-accent);
    }

@keyframes bp-cookie-slide {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   LANDING PAGE
   ========================================================= */

.bp-landing {
    margin: -30px;
    color: white;
    overflow-x: hidden;
}

.bp-hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    padding: 80px 8vw;
    overflow: hidden;
}

.bp-hero-bg {
    position: absolute;
    inset: -40px;
    background-image: url("/images/background.jpg");
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.layer-back {
    filter: blur(4px);
    transform: scale(1.08);
    opacity: .75;
    animation: bp-slow-zoom 24s ease-in-out infinite alternate;
}

.layer-mid {
    background: radial-gradient(circle at 25% 40%, rgba(255,152,0,.16), transparent 32%), radial-gradient(circle at 75% 55%, rgba(40,40,40,.4), transparent 35%);
    mix-blend-mode: screen;
    opacity: .85;
}

.bp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.55), rgba(0,0,0,.9)), linear-gradient(0deg, rgba(0,0,0,.95), transparent 45%);
}

.bp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}

.bp-hero-kicker {
    margin-bottom: 18px;
    color: var(--bp-accent);
    letter-spacing: .28em;
    font-size: 13px;
    font-weight: 800;
}

.bp-hero h1 {
    margin: 0;
    font-size: clamp(54px, 9vw, 132px);
    line-height: .88;
    font-weight: 900;
    letter-spacing: -.06em;
    text-shadow: 0 12px 45px rgba(0,0,0,.7);
}

.bp-hero p {
    max-width: 620px;
    margin-top: 26px;
    color: #ddd;
    font-size: 22px;
}

.bp-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.bp-scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    z-index: 3;
    transform: translateX(-50%);
    color: #aaa;
    font-size: 11px;
    letter-spacing: .25em;
    text-align: center;
}

    .bp-scroll-hint span {
        display: block;
        width: 1px;
        height: 48px;
        margin: 12px auto 0;
        background: linear-gradient(var(--bp-accent), transparent);
        animation: bp-scroll-line 1.8s infinite;
    }

.bp-section {
    position: relative;
    padding: 110px 8vw;
}

.bp-section-dark {
    background: linear-gradient(180deg, rgba(0,0,0,.92), rgba(20,20,20,.84));
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.bp-section-inner {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    align-items: start;
}

.bp-section-number {
    color: rgba(255,152,0,.45);
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
}

.bp-section h2,
.bp-final-cta h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 76px);
    line-height: .95;
    font-weight: 900;
}

.bp-section h3 {
    margin: 14px 0 24px;
    color: var(--bp-accent);
    font-size: clamp(24px, 3vw, 42px);
}

.bp-section p {
    max-width: 760px;
    color: #d0d0d0;
    font-size: 19px;
    line-height: 1.65;
}

.bp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 90px 8vw;
    background: rgba(0,0,0,.65);
}

.bp-feature-card {
    min-height: 250px;
    padding: 30px;
    background: rgba(30,30,30,.78);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
    transition: .25s ease;
}

    .bp-feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255,152,0,.55);
        box-shadow: 0 18px 60px rgba(255,152,0,.12);
    }

    .bp-feature-card span {
        font-size: 42px;
    }

    .bp-feature-card h3 {
        margin: 22px 0 12px;
        color: white;
        font-size: 25px;
    }

    .bp-feature-card p {
        color: #cfcfcf;
        line-height: 1.55;
    }

    .bp-feature-card:nth-child(1) {
        transition-delay: .05s;
    }

    .bp-feature-card:nth-child(2) {
        transition-delay: .14s;
    }

    .bp-feature-card:nth-child(3) {
        transition-delay: .23s;
    }

.bp-final-cta {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 100px 8vw;
    background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.55)), radial-gradient(circle at 70% 50%, rgba(255,152,0,.22), transparent 36%);
}

    .bp-final-cta h2 {
        max-width: 850px;
        margin-bottom: 32px;
    }

/* =========================================================
   LANDING MICRO ANIMATIONS
   ========================================================= */

.bp-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s ease;
}

    .bp-reveal.bp-visible {
        opacity: 1;
        transform: translateY(0);
    }

.layer-back,
.layer-mid {
    transition: transform .12s ease-out;
}

@keyframes bp-slow-zoom {
    from {
        transform: scale(1.08) translate3d(0,0,0);
    }

    to {
        transform: scale(1.15) translate3d(-18px, -10px, 0);
    }
}

@keyframes bp-scroll-line {
    0% {
        opacity: 0;
        transform: scaleY(.2);
        transform-origin: top;
    }

    40% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(.2);
        transform-origin: bottom;
    }
}

/* =========================================================
   DISCORD BANNER PAGE
   ========================================================= */

.discord-banner,
.discord-banner-empty {
    position: relative;
    width: 1200px;
    height: 630px;
    overflow: hidden;
    background: #111;
    color: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.discord-banner-bg {
    position: absolute;
    inset: -24px;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.06);
    opacity: .58;
}

.discord-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.55), rgba(0,0,0,.88)), radial-gradient(circle at 75% 35%, rgba(255,152,0,.22), transparent 35%);
}

.discord-banner-content,
.discord-banner-empty {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: 64px 76px;
}

.discord-banner-kicker {
    margin-bottom: 24px;
    color: #ff9800;
    letter-spacing: .28em;
    font-size: 18px;
    font-weight: 900;
}

.discord-banner-badge {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ff9800;
    color: #111;
    font-size: 18px;
    font-weight: 900;
}

.discord-banner-title {
    max-width: 900px;
    margin-bottom: 22px;
    font-size: 72px;
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.04em;
    text-shadow: 0 12px 45px rgba(0,0,0,.85);
}

.discord-banner-meta {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 28px;
}

.discord-banner-countdown {
    margin-bottom: 24px;
    color: #ff9800;
    font-size: 34px;
    font-weight: 900;
}

.discord-banner-description {
    max-width: 820px;
    color: #d0d0d0;
    font-size: 20px;
    line-height: 1.45;
}

.discord-banner-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.7)), radial-gradient(circle at 70% 40%, rgba(255,152,0,.18), transparent 34%), #151515;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .bp-section-inner {
        grid-template-columns: 1fr;
    }

    .bp-section-number {
        font-size: 54px;
    }

    .bp-feature-grid {
        grid-template-columns: 1fr;
    }

    .bp-hero {
        padding: 70px 28px;
    }

    .bp-next-event-content {
        padding: 22px;
    }

    .bp-next-event-title {
        font-size: 26px;
    }
}

/* Csak hónap nézet */
.rz-month-view .bp-calendar-event,
.rz-scheduler-month-view .bp-calendar-event {
    min-height: 52px;
}

.bp-signup-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.bp-signup-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    color: white;
}

    .bp-signup-table th,
    .bp-signup-table td {
        border: 1px solid #444;
        padding: 10px;
        text-align: center;
        vertical-align: middle;
    }

    .bp-signup-table th {
        background: #2b2b2b;
        color: #ff9800;
    }

.bp-signup-row-title {
    background: #252525;
    color: white;
    font-weight: bold;
    min-width: 160px;
}

.bp-signup-role-header {
    min-width: 160px;
}

.bp-signup-column-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bp-signup-delete {
    border: none;
    background: #7b1f1f;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    line-height: 18px;
}

.bp-signup-empty-cell {
    width: 100%;
    min-height: 38px;
    border: 1px dashed #777;
    background: transparent;
    color: #ff9800;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
}

    .bp-signup-empty-cell:hover {
        background: rgba(255, 152, 0, 0.12);
    }

.bp-signup-filled-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #356838;
    border-radius: 6px;
    padding: 8px;
}

.bp-signup-cell-actions {
    display: flex;
    gap: 4px;
}

    .bp-signup-cell-actions button {
        border: none;
        background: rgba(0,0,0,0.35);
        color: white;
        border-radius: 4px;
        cursor: pointer;
    }

.bp-calendar-signup {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bp-calendar-signup-toggle {
    width: 27px;
    height: 27px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.68);
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .bp-calendar-signup-toggle:hover {
        border-color: rgba(255, 255, 255, 0.75);
        background: rgba(25, 25, 25, 0.9);
        color: white;
        transform: scale(1.08);
    }

    .bp-calendar-signup-toggle.is-signed-up {
        background: rgba(32, 145, 65, 0.9);
        border-color: #58d878;
        color: white;
    }

        .bp-calendar-signup-toggle.is-signed-up:hover {
            background: rgba(185, 48, 48, 0.92);
            border-color: #ff7777;
        }

    .bp-calendar-signup-toggle .material-symbols-outlined {
        font-size: 17px;
    }

.bp-calendar-signup-count {
    min-width: 15px;
    padding: 2px 5px;
    border-radius: 9px;
    background: rgba(10, 10, 10, 0.68);
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

.bp-calendar-signup-sheet {
    border-radius: 7px;
}

.bp-next-event-signup-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

    .bp-next-event-signup-info .material-symbols-outlined {
        font-size: 18px;
    }

/* Ezt a blokkot másold a projekt meglévő site.css/app.css fájljának végére. */

.bp-calendar-signup {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.bp-calendar-signup-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #9e9e9e;
    background: rgba(20, 20, 20, .72);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

    .bp-calendar-signup-toggle:hover {
        color: #fff;
        background: rgba(55, 55, 55, .9);
    }

    .bp-calendar-signup-toggle.is-signed-up {
        color: #9ccc65;
        background: rgba(76, 175, 80, .2);
        border-color: rgba(156, 204, 101, .8);
    }

    .bp-calendar-signup-toggle .material-symbols-outlined {
        font-size: 18px;
    }

.bp-calendar-signup-count {
    min-width: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 2px #000;
}

