@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #111111;
    --primary-hover: #333333;
    --secondary: #666666;
    --bg-color: #f7f7f7;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    
    /* Override Bootstrap primary */
    --bs-primary: #111111;
    --bs-primary-rgb: 17, 17, 17;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    padding-bottom: 3rem;
    -webkit-font-smoothing: antialiased;
}

/* Override Bootstrap text colors just in case */
.text-primary {
    color: var(--primary) !important;
}

/* Minimalist Navbar */
.navbar-glass {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Flat Cards */
.donation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donation-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.75rem 0;
    letter-spacing: -0.02em;
}

.card-donor {
    font-weight: 600;
    font-size: 1rem;
}

.badge-custom {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid transparent;
}

.badge-success { background-color: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.badge-pending { background-color: #fefce8; color: #854d0e; border-color: #fef08a; }
.badge-failed { background-color: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* Form Container */
.form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 3rem auto;
}

/* Inputs */
.form-floating > label {
    color: var(--text-muted);
}
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
}

/* SweetAlert */
.swal2-popup {
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
}
.swal2-confirm {
    background-color: var(--primary) !important;
    border-radius: 6px !important;
}