:root {
    --primary: #2563eb;
    --success: #22c55e;
    --bg: #f8fafc;
    --gray: #94a3b8;
    --dark: #1e293b;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, system-ui, sans-serif;
    background: var(--bg);
    margin: 0;
    padding-bottom: 100px;
    color: var(--dark);
}

/* Header */
.mobile-header {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
}

.logo span {
    color: var(--primary);
}

/* Menu Inferior Flutuante */
.bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 12px;
    border-radius: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bottom-nav a {
    text-decoration: none;
    color: var(--gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
}

.bottom-nav a.active {
    color: var(--primary);
}

.bottom-nav i {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
}

/* Formulário e Inputs */
.mentor-form {
    background: white;
    padding: 30px;
    border-radius: 25px;
    max-width: 450px;
    margin: 20px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group input,
.input-group textarea {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 16px;
    width: 100%;
}

/* Botão Switch (Ao Vivo) */
.switch-status {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.switch-status input {
    display: none;
}

.slider-round {
    width: 48px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 34px;
    transition: .4s;
    position: relative;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider-round {
    background-color: var(--success);
}

input:checked+.slider-round:before {
    transform: translateX(24px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 15px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.88;
}

/* Botão de perfil no header */
.btn-perfil {
    color: var(--primary);
    display: flex;
    align-items: center;
}

.btn-perfil i {
    width: 26px;
    height: 26px;
}

/* Barra de Categorias */
.categories-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.categories-bar::-webkit-scrollbar {
    display: none;
}

.categories-bar button {
    border: 1px solid #e2e8f0;
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.2s;
}

.categories-bar button.active,
.categories-bar button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Container principal */
.container {
    padding: 16px;
}

/* Grid de Mentores */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Card do Mentor */
.mentor-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mentor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.mentor-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9/12;
    background: #e2e8f0;
    overflow: hidden;
}

.mentor-media img,
.mentor-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-online {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--success);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mentor-info {
    padding: 10px 12px 12px;
}

.mentor-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mentor-info p {
    font-size: 11px;
    color: var(--gray);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Stripe Section ─────────────────────── */
.stripe-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.stripe-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stripe-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.stripe-badge--connected {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.stripe-badge--disconnected {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.stripe-tip {
    font-size: 13px;
    color: var(--gray);
    margin: 0 0 14px;
    line-height: 1.5;
}

.stripe-tip code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    color: #475569;
}

.stripe-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.btn-stripe-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #635BFF;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-stripe-oauth:hover {
    opacity: 0.88;
}

.stripe-connected-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.stripe-connected-info strong {
    display: block;
    font-size: 14px;
    color: #166534;
}

.btn-stripe-disconnect {
    background: none;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-stripe-disconnect:hover {
    background: #fef2f2;
}