/* =========================================
   DEALER RESOURCES PAGE
========================================= */
/* =========================================
   DEALER RESOURCES PAGE
========================================= */

.dealer-resources-wrapper {
  padding: 70px 0;
}
 
/* IMPORTANT: Do NOT use .container (theme conflict) */
.dealer-container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}
 
/* ===== MAIN LAYOUT ===== */
 
.main-layout {
  display: flex;
  align-items: flex-start;
}
 
.main-content {
  max-width: 68%;
  margin-left: 25px;
}
 
.sidebar-featured {
  flex: 0 0 32%;
  max-width: 32%;
 
  top: 120px;
}
 
/* ===== PAGE TITLE ===== */
 
.page-title {
  margin-bottom: 60px;
  font-family: "Anton", sans-serif !important;
  text-align: start;
  font-size: 22px;
  color: black;
}
 
/* ===== RESOURCE GRID ===== */
 
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 0px;
  margin-bottom: 40px;
}
 
.resource-item {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 32px;
    width: 80%;
}
.resource-item:hover {
    background-color: #880b17; /* Red */
    transform: translateY(-5px);
}
 
.resource-item:hover span {
    color: #ffffff;
}
 
.resource-item:hover .icon-circle {
    background-color: #ffffff;
}
 
.resource-item:hover .icon-circle img {
    filter: brightness(0) saturate(100%);
}
 
.resource-link {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
 
.icon-circle {
  width: 50px;
  height: 50px;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
 
.icon-circle img {
  max-width: 18px;
}
 
/* ===== DESCRIPTION ===== */
 
.resource-description {
  color: #777;
  font-size: 13px;
  margin: 33px 0 39px;
  max-width: 780px;
}
 
/* ===== VIDEO + INSTAGRAM SECTION ===== */
 
.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
 
.section-title {
  background: #880b0b;
  color: #fff;
  padding: 15px 21px;
  font-size: 20px;
  font-weight: 600;
 
  font-family: "Barlow Semi Condensed", sans-serif !important;
  font-size: 18px;
}
 
.video-wrapper,
.instagram-embed {
  background: #fff;
  padding: 20px;
}
 
.instagram-section {
  width: fit-content;
}
 
.catalogues-wrapper {
  display: flex;
  margin-bottom: 5%;
}
 
/* Tabs */
.resources-tabs {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
}
 
.radio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
 
.dealer-header {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}
 
.tab-item {
  width: 150px;
  height: 143px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
 
/* Link */
.tab-item .tab-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #333;
  transition: 0.3s ease;
}
 
.tab-item span {
  text-align: center;
  transition: 0.3s ease;
}
 
.tab-item img {
  width: 40px;
  margin-bottom: 10px;
  transition: 0.3s ease;
}
 
/* ðŸ”´ Hover Effect */
.tab-item:hover {
  background: #880b17;
  border: 2px solid #880b17;
  transform: translateY(-5px);
}
 
.tab-item:hover span {
  color: #fff;
}
 
.tab-item:hover img {
  filter: brightness(0) invert(1);
}
 
/* ðŸ”´ Active State */
.tab-item.active {
  background: #880b17;
  border: 2px solid #880b17;
   box-shadow: 0 8px 20px rgba(136, 11, 23, 0.4);
}
 
.tab-item.active span {
  color: #fff;
}
 
.tab-item.active img {
  filter: brightness(0) invert(1);
}
 
/* Section */
.catalogues-section {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 0px 16px 0px rgba(170, 170, 170, 0.2);
  margin-top: 35px;
  margin-left: 110px;
  width: 65%;
}
 
/* Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
 
.insert-btn {
 background: #2d6cdf;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.insert-btn:hover,
.update-btn:hover,
.delete-btn:hover,
.back-to-list-btn:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

 
/* Table */
.catalogue-table {
  width: 100%;
  border-collapse: collapse;
}
 
.catalogue-table th {
  text-align: left;
  padding: 15px;
  background: #f0f0f0;
}
 
.catalogue-table td {
  padding: 20px 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
 
.images-col img {
  width: 80px;
  margin-right: 10px;
}
 
.action-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.update-btn {
  background: #2d6cdf;
  color: #fff;
  padding: 6px 15px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}
 
.delete-btn {
  background: #880b17;
  color: #fff;
  padding: 6px 15px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}
 
.catalogue-table td {
  vertical-align: middle;
  padding: 20px;
}
 
.images-col img {
  display: block;
  margin-bottom: 10px;
}
 
.description-col strong {
  display: block;
  font-size: 16px;
}
 
.action-col .update-btn,
.action-col .delete-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #c62828;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}
 
.action-col .delete-btn {
  background: #c62828;
}
 
.delete-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-in-out;
}
 
.delete-modal.active {
  display: flex;
}
 
.delete-modal-content {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.25s ease;
}
 
.delete-modal-content p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #333;
}
 
/* Buttons container */
.delete-modal-content div {
  display: flex;
  justify-content: center;
  gap: 15px;
}
 
/* YES button */
.delete-modal-content button:first-child {
  background: #e53935;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
 
.delete-modal-content button:first-child:hover {
  background: #c62828;
}
 
/* CANCEL button */
.delete-modal-content button:last-child {
  background: #e0e0e0;
  color: #333;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
 
.delete-modal-content button:last-child:hover {
  background: #c6c6c6;
}

.regional-manager{
  width: 89%;
  margin-left: 94px;
}

.misc-thumbnail{
    max-width: 100%;
    min-width: 83%;
    max-height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
}

.regional-manager-actions{
    display: flex;
    gap: 5px;
}
@media screen and (max-width: 1024px) {
    .main-content{
        max-width: 100%;
    }
    
    .bottom-section{
        display: block;
    }
    
    .catalogues-wrapper{
        display: block;
    }
    
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .catalogue-table {
        min-width: 900px; /* important */
    }
    
    .catalogues-section{
        width: 100%;
        margin-left: 0px;
    }
}
@media screen and (max-width: 768px) {
    .main-content{
        max-width: 100%;
    }
    
    .bottom-section{
        display: block;
    }
    
    .catalogues-wrapper{
        display: block;
    }
    
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .catalogue-table {
        min-width: 900px; /* important */
    }
    
    .catalogues-section{
        width: 100%;
        margin-left: 0px;
    }
}

@media screen and (max-width: 992px) {
    .single-bulleting-section{
        display: block;
    }
    .bulletin-content-card{
        width: 100%;
    }
}





