﻿body {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: 100vh;
}

.main-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    margin: 40px auto;
    max-width: 500px;
}

.frm legend, fieldset legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4f46e5;
}

.block {
    margin-bottom: 18px;
}

.l {
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid #c7d2fe;
    padding: 8px 12px;
    transition: border-color 0.2s;
}

    .l:focus {
        border-color: #6366f1;
        outline: none;
    }

.btn {
    border-radius: 8px;
    padding: 8px 24px;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.btn-info {
    background: #6366f1;
    border: none;
    color: #fff;
}

    .btn-info:hover {
        background: #4f46e5;
        color: #fff;
    }

.btn-success {
    background: #22c55e;
    border: none;
}

    .btn-success:hover {
        background: #16a34a;
    }

.alert {
    border-radius: 10px;
    font-size: 1rem;
}

.list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 6px;
    transition: background 0.2s;
}

.list-group-item-action:hover {
    background: #f1f5f9;
}

.list-group-item.active {
    background: #6366f1;
    color: #fff;
    font-weight: bold;
}

.badge-secondary {
    background: #818cf8;
    color: #fff;
    font-size: 1rem;
    padding: 6px 14px;
    border-radius: 8px;
}

.icon {
    font-size: 1.2rem;
    margin-left: 8px;
    color: #6366f1;
}

.lbl_err {
    color: #dc2626;
    font-weight: bold;
}

@media (max-width: 600px) {
    .main-card {
        padding: 16px 6px;
    }
}
