/* Global reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Make body fill full screen */
html, body {
    height: 100%;
}

/* Background + base text */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #facc15 0, #fbbf24 12%, #fee2e2 40%, #eef2ff 70%, #e0f2fe 100%);
    color: #0f172a;
}

/* Outer wrapper takes full height */
.bm-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER – full-width band */
.bm-header {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--bm-primary), #1e40af);
    color: #eff6ff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
}

.bm-header h1 {
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bm-header-subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* NAV */
.bm-nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bm-nav a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(239, 246, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #eff6ff;
    background: rgba(15, 23, 42, 0.25);
}

.bm-nav a:hover {
    background: rgba(15, 23, 42, 0.45);
}

/* MAIN – full-screen hero area */
.bm-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 24px;
}

/* Hero layout: two columns */
.bm-hero {
    width: 100%;
    max-width: 1120px;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

/* Left hero – text + overlay background */
.bm-hero-left {
    position: relative;
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.98), rgba(59, 130, 246, 0.96));
    color: #eff6ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bm-hero-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.4) 0, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(248, 250, 252, 0.35) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.bm-hero-left-inner {
    position: relative;
    z-index: 1;
}

.bm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(248, 250, 252, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.bm-hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.bm-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
    max-width: 420px;
}

.bm-hero-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.bm-hero-bullets li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.bm-bullet-dot {
    margin-top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #facc15;
}

/* CTA row */
.bm-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

/* Right hero – card container (register / content) */
.bm-hero-right {
    padding: 24px 22px;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.bm-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 18px 18px 16px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.4);
    border: 1px solid #e5e7eb;
}

/* Headings in card */
.bm-card h2 {
    margin-bottom: 6px;
    font-size: 1.2rem;
    color: #111827;
}

.bm-card p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 8px;
}

.bm-card ul {
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.bm-card li {
    margin-bottom: 4px;
}

/* Actions below card text */
.bm-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Buttons */
.bm-btn {
    background: var(--bm-primary);
    border: none;
    color: #f9fafb;
    padding: 9px 18px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
    transition: transform 0.08s ease, box-shadow 0.08s ease, opacity 0.08s ease;
}

.bm-btn-secondary {
    background: var(--bm-secondary);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.5);
}

.bm-btn:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

.bm-btn:active {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.5);
}

/* Form */
.bm-form {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-section {
    padding: 10px 10px 8px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    margin-bottom: 6px;
}

.bm-section h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #111827;
    border-bottom: 1px dashed #d1d5db;
    padding-bottom: 3px;
}

.bm-form-group {
    margin-bottom: 8px;
}

.bm-form label {
    display: block;
    margin-bottom: 3px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #374151;
}

.bm-input {
    width: 100%;
    padding: 7px 9px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
}

.bm-input:focus {
    outline: none;
    border-color: var(--bm-primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.bm-required {
    color: #dc2626;
    font-size: 0.85rem;
}

/* Errors */
.bm-error-msg {
    color: #b91c1c;
    font-size: 0.75rem;
    margin-top: 2px;
}

.bm-alert {
    padding: 8px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.bm-alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Profiles page layout */
.bm-card-full {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 40px rgba(15,23,42,0.4);
}

.bm-profile-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.bm-profile-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.4);
    font-size: 0.88rem;
}

.bm-profile-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 6px;
}

.bm-profile-card li {
    margin-bottom: 3px;
}

.bm-profile-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Footer */
.bm-footer {
    padding: 8px 4px;
    text-align: center;
    background: #020617;
    color: #6b7280;
    font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 900px) {
    .bm-main {
        padding: 16px;
    }

    .bm-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .bm-hero-left {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .bm-header {
        padding: 12px 16px;
    }

    .bm-header h1 {
        font-size: 1.4rem;
    }

    .bm-main {
        padding: 12px;
    }

    .bm-hero {
        border-radius: 0;
        box-shadow: none;
    }
}
