/* Role Form Styles */

.page-title-clean {
    font-size: 2rem;
    font-weight: 700;
    color: #343a40;
    margin: 0;
}

.breadcrumb-clean {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-clean .breadcrumb-item {
    font-size: 0.875rem;
}

.breadcrumb-clean .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-clean .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-clean .breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-clean .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
}

.user-form-card {
    border: none;
    border-radius: 12px;
}

.user-form-header-clean {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.card-title-clean {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}

.card-subtitle-clean {
    font-size: 0.875rem;
    color: #6c757d;
}

.user-form-body {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.user-form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.user-form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.user-form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.permission-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
}

.permission-category-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.permission-list {
    max-height: 300px;
    overflow-y: auto;
}

.permission-list .form-check {
    margin-bottom: 0.5rem;
}

.permission-list .form-check-label {
    font-size: 0.875rem;
    color: #495057;
}

.user-form-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

.user-form-btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-form-btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

.btn-secondary {
    background: #6c757d;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Role Form Specific Styles */
.role-form-container .card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.role-form-container .form-control[readonly] {
    background-color: #f8f9fa;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header-clean {
        padding: 20px 0;
    }
    
    .page-title-clean {
        font-size: 1.5rem;
    }
    
    .user-form-body {
        padding: 1rem;
    }
    
    .permission-list {
        max-height: 200px;
    }
}
