/* Compact panel corners across the add-ons edition; template colors stay untouched. */
body .panel,
body .plan,
body .panel-group .panel,
body .panel-group .plan,
body .card,
body .addon-card,
body .modal-content,
body.basic_theme_pro .modal-dialog,
body.basic_theme_pro .modal-content,
body #widgets .widget,
body #widgets .panel,
body #sidebar .group,
body #sidebar-content,
body #sidebar-content .group,
body #bottombar .panel {
    border-radius: 6px !important;
}
body .panel > .panel-heading,
body .plan > .plan-heading,
body .card > .card-header,
body .modal-content > .modal-header,
body #widgets .widget-heading,
body #sidebar-content .sidebar-content-header,
body #sidebar-content .group-heading,
body #sidebar .group-heading {
    border-radius: 5px 5px 0 0 !important;
}
body .panel > .panel-footer,
body .plan > .plan-footer,
body .card > .card-footer,
body .modal-content > .modal-footer,
body #widgets .widget-body {
    border-radius: 0 0 5px 5px !important;
}

/* Consistent compact controls in create/edit dialogs, across all themes. */
body .modal .nav-tabs > li > a,
body .modal .nav-pills > li > a,
body .modal .form-control,
body .modal input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
body .modal select,
body .modal textarea,
body .modal .bootstrap-select,
body .modal .bootstrap-select > .btn,
body .modal .btn,
body .modal .input-group-addon,
body .modal .dropdown-menu,
body .modal .select2-selection,
body .modal .select2-choice,
body .modal .alert {
    border-radius: 5px !important;
}
/* Keep adjoining input controls connected without rounding the inner seams. */
body .modal .input-group > .form-control:not(:first-child):not(:last-child),
body .modal .input-group > .input-group-addon:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
}
body .modal .input-group > .form-control:first-child,
body .modal .input-group > .input-group-addon:first-child,
body .modal .input-group > .input-group-btn:first-child > .btn {
    border-radius: 5px 0 0 5px !important;
}
body .modal .input-group > .form-control:last-child,
body .modal .input-group > .input-group-addon:last-child,
body .modal .input-group > .input-group-btn:last-child > .btn {
    border-radius: 0 5px 5px 0 !important;
}
