body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe, #fef9c3);
    min-height: 100vh;
    margin: 0;
    color: #1e293b;
    line-height: 1.6;
    overflow-y: auto;
    overflow-x: hidden;
}

h1.fw-bold {
    font-weight: 800;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.lead {
    color: #475569;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

.card-header {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

textarea.form-control,
input.form-control {
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    padding: 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    textarea.form-control:focus,
    input.form-control:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
        outline: none;
    }

.btn {
    border-radius: 14px;
    font-weight: 600;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: none;
    color: #fff;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #1e40af, #6d28d9);
        box-shadow: 0 6px 16px rgba(109, 40, 217, 0.35);
    }

.btn-outline-info {
    border: 2px solid #06b6d4;
    color: #0e7490;
}

    .btn-outline-info:hover {
        background: #cffafe;
        border-color: #0891b2;
        color: #0c4a6e;
    }

.btn-outline-secondary {
    border: 2px solid #94a3b8;
    color: #475569;
}

    .btn-outline-secondary:hover {
        background-color: #f1f5f9;
        border-color: #64748b;
        color: #1e293b;
    }

.alert-info {
    border-radius: 14px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

a,
.btn-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

    a:hover,
    .btn-link:hover {
        text-decoration: underline;
    }

.modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: fadeInUp 0.25s ease;
}

.modal-body {
    font-size: 1.05rem;
    color: #1e293b;
    background: linear-gradient(180deg, #ffffff, #f9fafb);
    padding: 1.8rem;
}

    .modal-body ul li {
        margin: 0.6rem 0;
        font-size: 1.05rem;
        display: flex;
        align-items: center;
    }

        .modal-body ul li i {
            font-size: 1.1rem;
            margin-right: 0.6rem;
        }

.modal-footer {
    background: #f1f5f9;
    border-top: none;
    padding: 1.2rem;
}

    .modal-footer .btn {
        border-radius: 14px;
        font-weight: 600;
        padding: 0.9rem 1.2rem;
        font-size: 1.05rem;
        transition: all 0.2s ease;
    }

    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        background: linear-gradient(135deg, #6366f1, #3b82f6);
        color: #fff;
        border: none;
    }

        .modal-footer .btn-primary:hover,
        .modal-footer .btn-secondary:hover {
            background: linear-gradient(135deg, #4f46e5, #2563eb);
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
        }

.btn-close {
    filter: invert(1) brightness(200%);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

    .btn-close:hover {
        opacity: 1;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-safe {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: none;
}

    .btn-safe:hover {
        background: linear-gradient(135deg, #15803d, #16a34a);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
    }

.btn-unsafe {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border: none;
}

    .btn-unsafe:hover {
        background: linear-gradient(135deg, #b91c1c, #dc2626);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    }
