/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0F756D;
    --primary-dark: #0c5f58;
    --secondary-color: #1a3a4a;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a3a4a;
    --white: #fff;
    --border-color: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section - New Layout */
.hero-new {
    background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 100%);
    padding: 60px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-teal {
    background-color: #0d9488;
    color: var(--white);
}

.btn-teal:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

.btn-outline-teal {
    background-color: transparent;
    border: 2px solid #0d9488;
    color: #0d9488;
}

.btn-outline-teal:hover {
    background-color: #0d9488;
    color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Hero Section - Old (kept for compatibility) */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d5a6e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

/* Seção de Campanhas */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* Grid de Campanhas */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.campaign-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.campaign-card-image {
    height: 200px;
    overflow: hidden;
}

.campaign-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.campaign-card:hover .campaign-card-image img {
    transform: scale(1.05);
}

.campaign-card-content {
    padding: 20px;
}

.campaign-card-category {
    display: inline-block;
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.campaign-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.campaign-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-progress {
    margin-bottom: 15px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #14b8a6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 10px;
}

.campaign-stats .amount {
    font-weight: 600;
    color: var(--primary-color);
}

.campaign-stats .goal {
    color: var(--text-light);
}

/* Página de Campanha Individual */
.campaign-page {
    padding: 40px 0;
}

.campaign-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.campaign-main {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.campaign-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.campaign-video {
    width: 100%;
    min-height: 300px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.campaign-video iframe {
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.campaign-video vturb-smartplayer {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.campaign-content {
    padding: 30px;
}

.campaign-content h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.campaign-description {
    color: var(--text-color);
    line-height: 1.8;
}

.campaign-description h2 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--secondary-color);
}

.campaign-description p {
    margin-bottom: 15px;
}

/* Sidebar de Doação */
.donation-sidebar {
    position: sticky;
    top: 100px;
}

.donation-box {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.donation-box h2 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.donation-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.donation-goal {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.donation-progress {
    margin-bottom: 25px;
}

.pix-section {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pix-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.pix-steps {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.pix-steps p {
    margin-bottom: 8px;
}

.pix-key {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.pix-key:hover {
    border-color: var(--primary-color);
}

.pix-key span {
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
}

.pix-favorecido {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.pix-favorecido strong {
    color: var(--text-color);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success);
    font-size: 13px;
    margin-top: 15px;
}

/* Doadores */
.donors-section {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.donors-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.donor-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.donor-item:last-child {
    border-bottom: none;
}

.donor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--text-light);
}

.donor-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.donor-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.donor-info .amount {
    font-weight: 600;
    color: var(--primary-color);
}

.donor-info .date {
    font-size: 12px;
    color: var(--text-light);
}

/* Formulários */
.form-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--bg-light);
}

.form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.form-container h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-align: center;
}

.form-container .subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label span {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 5px;
}

.form-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.form-links a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Criação de Campanha - Steps */
.create-campaign {
    padding: 40px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 150px);
}

.create-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.progress-steps {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 0;
}

.progress-steps .step {
    flex: 1;
    position: relative;
    z-index: 1;
}

.progress-steps .step-line {
    height: 4px;
    background: var(--border-color);
    transition: background 0.3s;
}

.progress-steps .step-line.active {
    background: var(--primary-color);
}

.step-indicator {
    text-align: right;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.step-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.step-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.step-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.step-buttons .btn {
    flex: 1;
}

/* Categorias */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.category-btn input {
    display: none;
}

/* Upload de Imagem */
.image-upload {
    margin-bottom: 20px;
}

.upload-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.upload-btn:hover {
    background: var(--primary-dark);
}

.upload-btn input {
    display: none;
}

.upload-preview {
    margin-top: 15px;
}

.upload-preview img {
    max-width: 200px;
    border-radius: 8px;
}

/* Perfil */
.profile-page {
    padding: 40px 0;
}

.profile-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d5a6e 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--secondary-color);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 28px;
    margin-bottom: 5px;
}

.profile-email {
    opacity: 0.8;
}

.profile-content {
    padding: 40px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s;
}

.profile-menu a:hover,
.profile-menu a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.profile-main {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

/* Alertas */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Sucesso de Campanha */
.success-page {
    text-align: center;
    padding: 80px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 48px;
    color: var(--white);
}

.success-page h1 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.success-page p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Sobre */
.about-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d5a6e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-section p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    opacity: 0.8;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-section ul a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.8;
}

/* Tabelas */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--secondary-color);
}

table tr:hover {
    background: var(--bg-light);
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Atualizações */
.updates-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.update-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.update-item:last-child {
    border-bottom: none;
}

.update-image {
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.update-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.update-content p {
    color: var(--text-light);
    font-size: 14px;
}

.update-date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

/* Responsivo */
@media (max-width: 992px) {
    .campaign-layout {
        grid-template-columns: 1fr;
    }
    
    .donation-sidebar {
        position: static;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
    
    .step-buttons {
        flex-direction: column;
    }
}

/* Admin Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-logo img {
    height: 40px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: var(--bg-light);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 24px;
    color: var(--secondary-color);
}

.admin-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-card .icon {
    float: right;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card .icon.blue {
    background: #e3f2fd;
    color: #1976d2;
}

.stat-card .icon.green {
    background: #e8f5e9;
    color: #388e3c;
}

.stat-card .icon.orange {
    background: #fff3e0;
    color: #f57c00;
}

.stat-card .icon.red {
    background: #ffebee;
    color: #d32f2f;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 20px;
    color: var(--secondary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

/* Copied notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3000;
}

.copy-notification.show {
    opacity: 1;
}




