/* Add Admin page premium styles */

.riden-addadmin-wrap {
    width: 100%;
    padding-bottom: 50px;
}

.riden-addadmin-head {
    display: flex;
    align-items: center;
    gap: 15px;
}

.riden-addadmin-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #111;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.riden-addadmin-back:hover {
    background: #f8f9fa;
    transform: translateX(-3px);
}

.riden-addadmin-title {
    font-size: 24px;
    font-weight: 500;
    color: #111;
}

.riden-addadmin-card {
    background: #fff;
    border: 1px solid #E5E7EB !important;
    border-radius: 25px !important;
    box-shadow: var(--riden-shadow) !important;
    padding: 20px 30px !important;
}

.riden-addadmin-section {
    color: #D10000;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.riden-field-label {
    font-size: 14px;
    color: #535557;
    font-weight: 700;
    margin-bottom: 8px;
}

.riden-input {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    padding: 0 16px;
    transition: all 0.2s;
}

.riden-input:focus {
    border-color: var(--riden-red);
    box-shadow: 0 0 0 4px rgba(209, 0, 0, 0.05);
}

.riden-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.riden-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fcfcfc;
    font-size: 14px;
    font-weight: 700;
}

.riden-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    background: #f9f9f9;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
}

.custom-module-check {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.custom-module-check .form-check-input {
    width: 22px;
    height: 22px;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #D9D9D9;
    border-radius: 6px;
}

.custom-module-check .form-check-input:checked {
    background-color: var(--riden-red);
    border-color: var(--riden-red);
}

.custom-module-check .form-check-label {
    font-size: 15px;
    font-weight: 600;
    color: #535557;
    cursor: pointer;
    margin-left: 12px;
    transition: color 0.1s;
}

.custom-module-check:hover .form-check-label {
    color: #111;
}

.btn-riden-danger {
    background: var(--riden-red);
    color: #fff;
    border-radius: 12px;
    height: 50px;
    padding: 0 40px;
    font-weight: 800;
    font-size: 15px;
    border: none;
    transition: all 0.3s ease;
}

.btn-riden-danger:hover {
    background: var(--riden-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(209, 0, 0, 0.2);
}

.btn-riden-outline {
    border: 2px solid #E5E7EB;
    background: #fff;
    color: #535557;
    border-radius: 12px;
    height: 50px;
    padding: 0 40px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-riden-outline:hover {
    border-color: #111;
    color: #111;
    background: #f8f9fa;
}

@media (max-width: 991.98px) {
    .riden-addadmin-card {
        padding: 30px !important;
    }
}

@media (max-width: 575.98px) {
    .riden-addadmin-card {
        padding: 20px !important;
    }

    .riden-modules-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .riden-actions {
        flex-direction: column;
    }

    .btn-riden-danger,
    .btn-riden-outline {
        width: 100%;
    }
}