/* ================================
   Custom Styles for Bootstrap 5
================================= */

/* Body & Typography */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #6610f2);
}

/* Phone List / Cards */
.phone-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.phone-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 20px;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.phone-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.phone-item img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.phone-item h3 {
    margin-top: 10px;
    font-size: 1.125rem; /* 18px */
}

.phone-item p {
    font-size: 0.875rem; /* 14px */
    color: #6c757d;
}

/* Custom Buttons (if not using Bootstrap .btn) */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .phone-list {
        flex-direction: column;
        align-items: center;
    }

    .phone-item {
        max-width: 100%;
    }
}


img {
    max-width: 100%;
    height: auto;
}


/* Blogspot-like tag pills */
.select2-selection--multiple {
  min-height: 40px;
  border-radius: 0.5rem !important;
  border: 1px solid #80bdff !important;
  padding: 4px 6px !important;
  background-color: #f0f8ff; /* light blue background */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.select2-selection--multiple:focus {
  border-color: #1b72ca !important;
  box-shadow: 0 0 0 0.2rem rgba(27, 114, 202, 0.25);
}

.select2-selection--multiple .select2-selection__choice {
  background-color: #cce5ff !important; /* soft blue pill */
  border: 1px solid #1b72ca !important;
  color: #0d3b66 !important;
  border-radius: 25px !important;
  padding: 4px 12px !important;
  font-size: 0.875rem !important;
  margin-top: 4px !important;
  margin-right: 6px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.select2-selection--multiple .select2-selection__choice:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.select2-selection--multiple .select2-selection__choice__remove {
  color: #0d3b66 !important;
  margin-right: 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ff4d4f !important; /* red on hover */
}

.select2-container--default .select2-selection--single {
  border-radius: 0.5rem !important;
  border: 1px solid #1b72ca !important;
  height: 40px;
  line-height: 38px;
  background-color: #f0f8ff; /* light blue */
}
/* ========================================
   Inline Styles Consolidated - Global
   ======================================== */

/* Login Page */
.login-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    max-width: 420px;
    width: 100%;
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/img/hero-bg.jpg') center/cover no-repeat;
}

/* Image Heights & Object-fit */
.img-height-200 {
    height: 200px;
    object-fit: cover;
}

.img-height-180 {
    height: 180px;
    object-fit: cover;
}

.img-height-140 {
    height: 140px;
    object-fit: cover;
}

.img-height-220 {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

/* Avatar Images */
.avatar-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.avatar-md {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

/* Progress Bars */
.progress-sm {
    height: 10px;
}

/* Error Page Icons */
.error-icon-circle {
    width: 64px;
    height: 64px;
}

/* Table Column Widths */
.table-col-120 {
    width: 120px;
}

.table-col-100 {
    width: 100px;
}

.table-col-130 {
    width: 130px;
}

/* Dropdown & Select Styling */
.form-select-inline {
    width: auto;
}

/* Modal & Detail Elements */
.log-detail-value {
    font-size: 0.85rem;
    color: #666;
}