.card {
    overflow: hidden;
}

form .mb-3 .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #344767;
}

form .d-flex.justify-content-between {
    margin-bottom: 0.5rem;
}

form .d-flex.justify-content-between a {
    color: #6366F1;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

form .d-flex.justify-content-between a:hover {
    color: #4F46E5;
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: #6366F1;
    border-color: #6366F1;
}

.form-check-label.text-muted {
    font-size: 0.85rem;
}

.position-relative hr {
    margin: 1.5rem 0;
    opacity: 0.15;
}

.position-relative p {
    font-size: 0.85rem;
}

.mt-4.pt-3.border-top {
    border-top-color: #e9ecef !important;
    padding-top: 1rem;
}

.mt-4.pt-3.border-top h6 {
    font-size: 0.85rem;
    color: #67748e;
}

.mt-4.pt-3.border-top .btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.card-body.bg-light {
    background-color: #f8f9fa !important;
    border-radius: 0.5rem;
    padding: 1rem;
}

.card-body.bg-light h6 {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.card-body.bg-light ul {
    margin-bottom: 0.75rem;
}

.card-body.bg-light ul li {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.15);
}

.alert-info small {
    font-size: 0.75rem;
}

.alert-info code {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
}

@media (max-width: 767.98px) {
    .card-body {
        padding: 2rem 1.5rem !important;
    }

    .text-center.mb-4 h2 {
        font-size: 1.75rem;
    }

    .position-relative p {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .row.g-3 > div {
        margin-bottom: 0.5rem;
    }

    .text-center.mb-4 h2 {
        font-size: 1.5rem;
    }

    .text-center.mb-4 p {
        font-size: 0.85rem;
    }
}
