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

:root {
    --primary: #FF7B54;
    --primary-hover: #FF5722;
    --secondary: #3B82F6;
    --secondary-hover: #1D4ED8;
    --accent: #FFD43B;
    --accent-hover: #FCC419;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --success: #10B981;
    --danger: #EF4444;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 123, 84, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(255, 212, 59, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Card custom layout */
.custom-card {
    background: var(--bg-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -7px rgba(0, 0, 0, 0.08);
}

.card-header-camp {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-header-camp::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 123, 84, 0.15);
}

/* Buttons */
.btn-primary-camp {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(255, 123, 84, 0.3);
}

.btn-primary-camp:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(255, 123, 84, 0.4);
}

.btn-secondary-camp {
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-secondary-camp:hover {
    background-color: var(--secondary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(59, 130, 246, 0.4);
}

/* Custom Checkbox/Radio Styling */
.custom-option {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

.custom-option input[type="radio"], 
.custom-option input[type="checkbox"] {
    display: none;
}

.custom-option label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: white;
}

.custom-option input[type="radio"]:checked + label,
.custom-option input[type="checkbox"]:checked + label {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* Allergy conditional block style */
.allergy-box {
    background-color: rgba(239, 68, 110, 0.03);
    border: 2px dashed rgba(239, 68, 110, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
}

/* Sticky alert for the payment details */
.pix-details-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Terms section styling */
.terms-container {
    background-color: rgba(100, 116, 139, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    max-height: 250px;
    overflow-y: auto;
    padding: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
}

.terms-container h5 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-top: 1rem;
}

/* Sign area simulation */
.signature-field {
    border-bottom: 2px solid var(--text-main);
    width: 80%;
    margin: 2rem auto 0.5rem auto;
    min-height: 40px;
}

/* Admin Dashboard Elements */
.stat-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-card.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.stat-card.orange {
    background: linear-gradient(135deg, #FF7B54 0%, #FF5722 100%);
}

.stat-card.green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.stat-card .icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-card .num {
    font-size: 2rem;
    font-weight: 800;
}

/* Table styling for admin */
.table-responsive {
    border-radius: 1rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    background: white;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #F1F5F9;
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.table tr:last-child td {
    border-bottom: none;
}

/* Custom logo size */
.camp-logo {
    max-height: 100px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.15));
}

.cursor-pointer {
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .table-responsive .table {
        min-width: 950px;
    }
}
