/* ============================================
   AdventuriQ Gamifier - Rounded Corners (5px)
   Loaded after style.css to override defaults
   ============================================ */

/* --- Cards --- */
.card {
  border-radius: 5px;
}
.card-header:first-child {
  border-radius: 5px 5px 0 0;
}
.card-footer:last-child {
  border-radius: 0 0 5px 5px;
}
.card > .list-group:first-child .list-group-item:first-child {
  border-radius: 5px 5px 0 0;
}
.card > .list-group:last-child .list-group-item:last-child {
  border-radius: 0 0 5px 5px;
}
.card-img-top {
  border-radius: 5px 5px 0 0;
}
.card-img-bottom {
  border-radius: 0 0 5px 5px;
}

/* --- Panels --- */
.panel {
  border-radius: 5px;
}
.panel-heading {
  border-radius: 5px 5px 0 0;
}
.panel-footer {
  border-radius: 0 0 5px 5px;
}

/* --- Buttons --- */
.btn {
  border-radius: 5px;
}
.btn-sm {
  border-radius: 4px;
}
.btn-lg {
  border-radius: 6px;
}
.btn-xs {
  border-radius: 4px;
}
/* Keep circle buttons as they are */
.btn-circle,
.btn-circle-large {
  border-radius: 50%;
}

/* --- Form Controls --- */
.form-control {
  border-radius: 5px;
}
select.form-control {
  border-radius: 5px;
}
textarea.form-control {
  border-radius: 5px;
}
.input-group .form-control:first-child,
.input-group-addon:first-child {
  border-radius: 5px 0 0 5px;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn {
  border-radius: 0 5px 5px 0;
}
.input-group-addon {
  border-radius: 5px;
}

/* --- Dropdowns --- */
.dropdown-menu {
  border-radius: 5px;
  overflow: hidden;
}

/* --- Modals --- */
.modal-content {
  border-radius: 5px;
}

/* --- Alerts --- */
.alert {
  border-radius: 5px;
}

/* --- List Groups --- */
.list-group {
  border-radius: 5px;
}
.list-group-item:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.list-group-item:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.list-group-sp .list-group-item {
  border-radius: 5px;
}

/* --- Tabs --- */
.tab-container .tab-content {
  border-radius: 0 0 5px 5px;
}
.nav-tabs > li > a {
  border-radius: 5px 5px 0 0;
}

/* --- Popovers & Tooltips --- */
.popover {
  border-radius: 5px;
}
.tooltip-inner {
  border-radius: 4px;
}

/* --- Pagination --- */
.pagination > li:first-child > a {
  border-radius: 5px 0 0 5px;
}
.pagination > li:last-child > a {
  border-radius: 0 5px 5px 0;
}

/* --- Badges --- */
.badge {
  border-radius: 5px;
}

/* --- Progress bars --- */
.progress {
  border-radius: 5px;
}

/* --- Jumbotron --- */
.jumbotron {
  border-radius: 5px;
}

/* --- Well --- */
.well {
  border-radius: 5px;
}

/* --- DnD list items (transparent wrapper, table inside is the visual element) --- */
ul[dnd-list] li {
  border-radius: 0;
  padding: 0;
  min-height: auto;
  border: none;
  background: transparent;
  margin-bottom: 0;
  cursor: default;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
ul[dnd-list] li .name {
  margin: 0;
}
ul[dnd-list] {
  padding-left: 0;
  min-height: 0;
}

/* --- Handle --- */
.handle {
  border-radius: 5px;
}

/* --- Options block --- */
.options {
  border-radius: 5px;
}

/* --- SweetAlert --- */
.sweet-alert {
  border-radius: 5px !important;
}

/* --- Accordion --- */
.accordion-group,
.accordion-inner {
  border-radius: 5px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  border-radius: 5px;
}

/* --- Adventure action buttons (evento.html header) --- */
button.adventure,
.btn.adventure {
  vertical-align: middle;
  margin: 4px 2px;
}
.btn.adventure .material-icons,
.btn.adventure .fa {
  font-size: 18px;
  vertical-align: middle;
  line-height: 1;
}

/* --- Responsive: hide adventure image column on narrow screens --- */
@media (max-width: 1200px) {
  .col-adventure-image {
    display: none;
  }
}
