/* ═══════════════════════════════════════════════
   Virtus Academy RS - Stylesheet v2
   Tema: Preto + Dourado (conforme identidade visual)
   Landing/Auth: fundo preto
   Sistema interno: fundo branco
   ═══════════════════════════════════════════════ */

:root {
    --gold: #c8a94e;
    --gold-light: #dcc06a;
    --gold-dark: #a88c3a;
    --black: #0d0d0d;
    --black-light: #1a1a1a;
    --black-card: #1e1e1e;
    --black-border: #2a2a2a;
    --white: #ffffff;
    --bg-system: #f5f5f5;
    --bg-card: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --border: #e2e8f0;
    --danger: #e53e3e;
    --success: #38a169;
    --warning: #dd6b20;
    --info: #3182ce;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-system);
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ══════════════════════════════════════════════════
   NAVBAR (dark, para todas as páginas)
   ══════════════════════════════════════════════════ */
.navbar {
    background: var(--black);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--black-border);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}
.navbar-brand {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand:hover { color: var(--gold); }
.navbar-brand img { height: 40px; }
.navbar-nav { display: flex; list-style: none; gap: 4px; align-items: center; }
.navbar-nav a {
    color: rgba(255,255,255,0.75);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--gold);
    background: rgba(200,169,78,0.1);
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .navbar-toggle { display: block; }
    .navbar-nav {
        display: none; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--black); padding: 10px;
        border-bottom: 1px solid var(--gold-dark);
    }
    .navbar-nav.open { display: flex; }
    .navbar-nav a { padding: 12px 16px; width: 100%; }
}

/* ══════════════════════════════════════════════════
   CARDS (sistema interno - fundo branco)
   ══════════════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 16px;
    display: flex; align-items: center; justify-content: space-between;
    background: #fafafa;
}
.card-body { padding: 20px; }

/* ══════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border: none; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); color: var(--black); }
.btn-secondary { background: var(--gold-dark); color: #fff; }
.btn-secondary:hover { background: var(--gold); color: var(--black); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c53030; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; letter-spacing: 0.3px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-white { background: #fff; color: var(--black); font-weight: 700; }
.btn-white:hover { background: var(--gold); color: var(--black); }

/* ══════════════════════════════════════════════════
   FORMS (sistema interno)
   ══════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.form-control {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 15px; font-family: var(--font); color: var(--text);
    background: #fff; transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,78,0.15); }
select.form-control { appearance: auto; }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-text { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > .form-group { flex: 1; min-width: 0; }
@media (max-width: 600px) { .form-row { flex-direction: column; } .form-row > .form-group { min-width: 100% !important; flex: unset !important; } }

.toggle-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--text-light);
    cursor: pointer; padding: 4px 10px; border-radius: 6px;
    background: var(--bg-system); border: 1px solid var(--border);
    white-space: nowrap; transition: all 0.2s;
}
.toggle-label:hover { border-color: var(--gold); }
.toggle-label input:checked ~ * { color: var(--gold-dark); }
.toggle-label input { accent-color: var(--gold); width: 15px; height: 15px; }

/* Dark form (landing/auth) */
.form-dark .form-control {
    background: var(--black-card); border-color: var(--black-border);
    color: #fff;
}
.form-dark .form-control:focus { border-color: var(--gold); }
.form-dark .form-group label { color: #ccc; }

/* Password toggle */
.password-toggle-wrap {
    position: relative;
}
.password-toggle-wrap input { padding-right: 44px; }
.toggle-pw-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: #718096; font-size: 16px; padding: 4px;
}
.toggle-pw-btn:hover { color: var(--gold); }
.auth-card .toggle-pw-btn { color: rgba(255,255,255,0.5); }
.auth-card .toggle-pw-btn:hover { color: var(--gold); }
.form-dark .toggle-pw-btn { color: rgba(255,255,255,0.5); }

/* File upload improved */
.file-upload-wrap { position: relative; }
.file-upload-current {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    background: #f9fafb; margin-bottom: 0; font-size: 14px;
}
.file-upload-current .file-name {
    flex: 1; color: var(--text); overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.file-upload-current .file-actions { display: flex; gap: 6px; flex-shrink: 0; }
.file-upload-current .file-actions a,
.file-upload-current .file-actions button {
    padding: 3px 8px; border-radius: 4px; font-size: 12px;
    text-decoration: none; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px;
}
.file-upload-current .btn-view { background: var(--gold); color: var(--black); font-weight: 600; }
.file-upload-current .btn-edit { background: var(--bg-system); color: var(--text); border: 1px solid var(--border); font-weight: 500; }
.file-upload-current .btn-delete { background: none; color: var(--danger); }
.file-upload-current .btn-delete:hover { background: rgba(229,62,62,0.1); }
.file-upload-hidden { display: none; }

/* ══════════════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════════════ */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-success { background: #f0fff4; color: #276749; border-left: 4px solid var(--success); }
.alert-danger { background: #fff5f5; color: #9b2c2c; border-left: 4px solid var(--danger); }
.alert-warning { background: #fffaf0; color: #9c4221; border-left: 4px solid var(--warning); }
.alert-info { background: #ebf8ff; color: #2a4365; border-left: 4px solid var(--info); }

/* ══════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════ */
.table-responsive { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.table th {
    background: #fafafa; padding: 12px 14px; text-align: left;
    font-weight: 600; font-size: 13px; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-light); border-bottom: 2px solid var(--border);
}
table.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.table tr:hover td { background: #f7fafc; }



table.table td.actions {
    white-space: nowrap;
    vertical-align: middle;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-buttons form {
    margin: 0;
    padding: 0;
    display: flex;
}

.action-buttons .btn {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-success { background: #c6f6d5; color: #22543d; }
.badge-danger { background: #fed7d7; color: #9b2c2c; }
.badge-warning { background: #feebc8; color: #7b341e; }
.badge-info { background: #bee3f8; color: #2a4365; }
.badge-secondary { background: #e2e8f0; color: #4a5568; }

/* ══════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════ */
.pagination ul { display: flex; gap: 4px; list-style: none; justify-content: center; margin-top: 20px; }
.pagination li a { display: block; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); }
.pagination li.active a { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.pagination li a:hover { background: #f0f0f0; }

/* ══════════════════════════════════════════════════
   STATS GRID (dashboard)
   ══════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--border); }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.stat-card .stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; font-weight: 500; }

/* ══════════════════════════════════════════════════
   ADMIN SIDEBAR (dark)
   ══════════════════════════════════════════════════ */
.admin-wrapper { display: flex; min-height: calc(100vh - 64px); }
.sidebar {
    width: 250px; background: var(--black-light); color: #fff; flex-shrink: 0;
    padding: 20px 0; border-right: 1px solid var(--black-border);
    position: sticky; top: 64px; height: calc(100vh - 64px);
    overflow-y: auto;
}
.sidebar-nav { list-style: none; }
.sidebar-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 24px; color: rgba(255,255,255,0.6);
    font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    color: var(--gold);
    background: rgba(200,169,78,0.08);
    border-right: 3px solid var(--gold);
}
.sidebar-nav .nav-label {
    padding: 20px 24px 8px; font-size: 11px; text-transform: uppercase;
    letter-spacing: 1px; color: rgba(255,255,255,0.25); font-weight: 700;
}
.main-content { flex: 1; padding: 24px 32px; min-width: 0; background: var(--bg-system); }

@media (max-width: 900px) {
    .sidebar { display: none; }
    .sidebar.open { display: block; position: fixed; top: 64px; left: 0; bottom: 0; z-index: 99; }
    .main-content { padding: 16px; }
}

/* ══════════════════════════════════════════════════
   LANDING PAGE (dark background, gold accents)
   ══════════════════════════════════════════════════ */
.landing-page { background: var(--black); color: #fff; min-height: 100vh; }
.landing-page .navbar { border-bottom: 1px solid var(--black-border); }

.landing-hero {
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
}
.landing-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.landing-logo { margin-bottom: 24px; }
.landing-logo img { height: 120px; filter: drop-shadow(0 4px 20px rgba(200,169,78,0.3)); }
.landing-hero h1 {
    font-size: 3rem; font-weight: 800; margin-bottom: 8px;
    font-style: italic; text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.landing-hero .subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 40px; }

.landing-benefits {
    max-width: 700px; margin: 0 auto 40px; text-align: left;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 600px) { .landing-benefits { grid-template-columns: 1fr; } }
.landing-benefits li {
    padding: 12px 16px; font-size: 0.95rem; list-style: none;
    background: rgba(200,169,78,0.06); border: 1px solid rgba(200,169,78,0.15);
    border-radius: var(--radius); position: relative; padding-left: 40px;
}
.landing-benefits li::before {
    content: '✓'; position: absolute; left: 14px;
    color: var(--gold); font-weight: 700; font-size: 1.1em;
}

.landing-price { margin-bottom: 12px; }
.landing-price .amount { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.landing-price .desc { font-size: 0.95rem; color: rgba(255,255,255,0.6); }

.landing-cta .btn {
    padding: 16px 48px; font-size: 17px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    background: var(--gold); color: var(--black);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(200,169,78,0.3);
}
.landing-cta .btn:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(200,169,78,0.4); }

.landing-url { margin-top: 30px; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); font-weight: 700; }

/* ══════════════════════════════════════════════════
   AUTH PAGES (dark background)
   ══════════════════════════════════════════════════ */
.auth-wrapper {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--black); padding: 20px;
}
.auth-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: 12px; padding: 40px; width: 100%; max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 20px; }
.auth-card .auth-logo img { height: 80px; }
.auth-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 6px; color: var(--gold); }
.auth-card .auth-subtitle { text-align: center; color: rgba(255,255,255,0.5); margin-bottom: 24px; font-size: 14px; }
.auth-card .form-group label { color: rgba(255,255,255,0.7); }
.auth-card .form-control {
    background: rgba(255,255,255,0.05); border-color: var(--black-border); color: #fff;
}
.auth-card .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,78,0.15); }
.auth-card a { color: var(--gold); }
.auth-card .alert-danger { background: rgba(229,62,62,0.15); border-color: var(--danger); color: #fca5a5; }
.auth-card .alert-success { background: rgba(56,161,105,0.15); border-color: var(--success); color: #9ae6b4; }

/* ══════════════════════════════════════════════════
   REPEATER
   ══════════════════════════════════════════════════ */
.repeater-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px; margin-bottom: 12px; background: #fafafa; position: relative;
}
.repeater-item .btn-remove {
    position: absolute; top: 10px; right: 10px;
    background: var(--danger); color: #fff; border: none;
    border-radius: 50%; width: 28px; height: 28px;
    cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════════
   USER PANEL TABS
   ══════════════════════════════════════════════════ */
.panel-tabs {
    display: flex; gap: 4px; background: #fff;
    padding: 8px; border-radius: var(--radius);
    margin-bottom: 24px; box-shadow: var(--shadow);
    flex-wrap: wrap; border: 1px solid var(--border);
}
.panel-tabs a {
    padding: 10px 18px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; color: var(--text-light); transition: all 0.2s;
}
.panel-tabs a:hover { background: #f5f5f5; color: var(--text); }
.panel-tabs a.active { background: var(--black); color: var(--gold); }

/* ══════════════════════════════════════════════════
   STUDENT CARD (carteirinha)
   ══════════════════════════════════════════════════ */
.student-card {
    width: 85.6mm; height: 53.98mm;
    border-radius: 10px; overflow: hidden; display: flex;
    font-family: Arial, sans-serif; font-size: 10px;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    color: #fff; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--gold-dark);
}
.student-card .card-left {
    width: 35%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 10px;
    background: rgba(200,169,78,0.05);
}
.student-card .card-left img.photo {
    width: 65px; height: 65px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--gold);
}
.student-card .card-left .logo-area img { height: 30px; margin-top: 6px; }
.student-card .card-right { width: 65%; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
.student-card .card-right h3 { font-size: 12px; margin-bottom: 6px; }
.student-card .card-right p { font-size: 9px; opacity: 0.8; margin-bottom: 3px; }
.student-card .matricula-badge { font-size: 11px; font-weight: bold; color: var(--gold); margin-top: 4px; }
.student-card .qr-area { position: absolute; bottom: 6px; right: 8px; }
.student-card .qr-area img { width: 42px; height: 42px; border-radius: 4px; background: #fff; padding: 2px; }
.student-card .gold-stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ══════════════════════════════════════════════════
   PAGE HEADER
   ══════════════════════════════════════════════════ */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-header h1 { font-size: 1.5rem; color: var(--text); margin: 0; }
.page-header .d-flex { flex-wrap: wrap; }
.page-header form { display: inline-flex; align-items: center; margin: 0; }
.card-header .btn { margin: -4px 0; }
.card-header form { display: inline; }

/* ══════════════════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════════════════ */
.filter-bar {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
    margin-bottom: 20px; background: #fff; padding: 16px;
    border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border);
}
.filter-bar .form-group { margin-bottom: 0; min-width: 150px; }
.filter-bar label { font-size: 12px; margin-bottom: 4px; }
.filter-bar .form-control { padding: 9px 12px; font-size: 14px; }
.filter-bar .btn { padding: 9px 18px; font-size: 14px; }

/* ══════════════════════════════════════════════════
   CONSTRUCTION PAGE
   ══════════════════════════════════════════════════ */
.construction-page {
    min-height: 100vh; background: var(--black);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; color: #fff;
}
.construction-page img { height: 140px; margin-bottom: 30px; filter: drop-shadow(0 4px 20px rgba(200,169,78,0.3)); }
.construction-page h1 { color: var(--gold); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.construction-page p { color: rgba(255,255,255,0.4); font-size: 0.95rem; }
.construction-page .gold-line { width: 80px; height: 2px; background: var(--gold); margin: 20px auto; }

/* ══════════════════════════════════════════════════
   PUBLIC STUDENT PROFILE
   ══════════════════════════════════════════════════ */
.profile-public {
    min-height: 100vh; background: var(--black);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.profile-public .profile-card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: 12px; padding: 40px; text-align: center; max-width: 400px; width: 100%;
}
.profile-public .profile-card h2 { color: #fff; margin-top: 12px; }

/* ══════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-flex { display: flex; align-items: center; } .gap-2 { gap: 16px; } .gap-1 { gap: 8px; }
.flex-wrap { flex-wrap: wrap; }
.flex-wrap { flex-wrap: wrap; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }

.checkbox-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-switch input { width: 20px; height: 20px; accent-color: var(--gold); }

/* ══════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════ */
@media print {
    .navbar, .sidebar, .no-print { display: none !important; }
    .main-content { padding: 0; }
    body { background: #fff; }
}




/* Ajustes - Filtros da listagem de patrocinadores */
.sponsors-filter-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    flex-wrap: nowrap;
}

.sponsors-filter-form .form-group {
    margin-bottom: 0;
}

.sponsors-filter-form .filter-search {
    flex: 1 1 auto;
}

.sponsors-filter-form .filter-status {
    flex: 0 0 220px;
}

.sponsors-filter-form .filter-submit {
    flex: 0 0 120px;
}

.sponsors-filter-form .form-control,
.sponsors-filter-form .btn {
    width: 100%;
    height: 100%;
    min-height: 43px;
}

/* Ajustes - Botões de ação da tabela */
table.table td.actions {
    white-space: nowrap;
    vertical-align: middle;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-buttons form {
    margin: 0;
    padding: 0;
    display: flex;
}

.action-buttons .btn {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .sponsors-filter-form {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .sponsors-filter-form .filter-search,
    .sponsors-filter-form .filter-status,
    .sponsors-filter-form .filter-submit {
        flex: 1 1 auto;
        width: 100%;
    }

    .action-buttons {
        flex-wrap: wrap;
    }
}