/* ========================
   Card & Form styling
   ======================== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card-body h4 {
    font-weight: 600;
}

textarea.form-control {
    border-radius: 8px;
    resize: vertical;
}

/* ========================
   Toggles styling
   ======================== */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input {
    width: 50px;
    height: 25px;
    cursor: pointer;
}

.form-check-label {
    margin-left: 10px;
    font-weight: 500;
}

/* ========================
   Loader styling
   ======================== */
#loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#loader .spinner-border {
    width: 3rem;
    height: 3rem;
}

#loader p {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ========================
   Result box
   ======================== */
#result .alert {
    border-radius: 12px;
    padding: 1.25rem 1rem;
    font-size: 1rem;
}

#result .alert a {
    word-break: break-all;
    display: inline-block;
    margin-top: 0.5rem;
}

#result button {
    margin-top: 0.5rem;
}

/* ========================
   Buttons styling
   ======================== */
.btn-primary {
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

.btn-outline-primary {
    border-radius: 8px;
}

/* ========================
   Responsive adjustments
   ======================== */
@media (max-width: 576px) {
    #loader .spinner-border {
        width: 2.5rem;
        height: 2.5rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}