﻿/* General Styles */
.basket-container {
  min-height: 60vh;
  width: 100%;
  padding: 2rem 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Box Styles */
.basket-big-box {
  background-color: var(--lb-green);
  border-radius: 50px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.basket-small-box {
  background-color: #bbd7c2;
  border-radius: 30px;
  padding: 1.5rem;
  height: 100%;
}

.box-content {
  display: flex;
  align-items: center;
  height: 100%;
}

.box-title {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: ghostwhite;
  font-weight: 600;
  text-align: center;
}

.box-text {
  font-size: 1.25rem;
  font-weight: 600;
  flex: 1;
}

/* Divider Styles */
.divider {
  border-top: 2px solid lightgrey;
  width: 80%;
  margin: 1rem 0;
}

.divider-vertical {
  border-right: 2px solid black;
  height: 60%;
  margin: 0 1.5rem;
}

/* Overlay Styles */
.top-img-div {
  position: relative;
}

.top-img-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-left: 2rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(231, 232, 232, 0.4) 35%,
    rgba(177, 179, 180, 0) 64%
  );
  height: 10rem;
  width: 50%;
}
.basket-big-box {
  height: 40vh !important;
}
.name-overlay {
  color: orange;
}

.company-overlay {
  color: green;
}

.top-img {
  object-fit: cover;
  height: 230px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .basket-big-box {
    padding: 1.5rem;
  }

  .box-title {
    font-size: 1.3rem;
  }

  .box-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .top-img-overlay {
    width: 70%;
    height: 8rem;
  }

  .basket-big-box {
    border-radius: 30px;
  }

  .basket-small-box {
    border-radius: 20px;
  }

  .box-content {
    flex-direction: column;
    text-align: center;
  }

  .divider-vertical {
    border-right: none;
    border-bottom: 2px solid black;
    width: 60%;
    height: auto;
    margin: 1rem 0;
  }
}

@media (max-width: 576px) {
  .top-img-overlay {
    width: 100%;
    padding-left: 1rem;
    height: 6rem;
  }

  .name-overlay,
  .company-overlay {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .box-title {
    font-size: 1.1rem;
  }

  .box-text {
    font-size: 1rem;
  }
}

/* Modal Styles */
.modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 2px solid #038443;
  background-color: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.modal-title {
  color: #038443;
  font-size: 1.5rem;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  border-top: 1px solid #eee;
  background-color: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

/* Topic Items */
.topic-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-title {
  font-size: 1.1rem;
  font-weight: 500;
}

.action-buttons .btn {
  padding: 5px 15px;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 10px;
  }

  .modal-body {
    padding: 15px;
  }

  .topic-title {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .action-buttons {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .btn-sm {
    padding: 3px 10px;
    font-size: 0.8rem;
  }
}

/* Existing Basket Styles (keep your existing styles) */
.basket-big-box {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.basket-big-box:hover {
  transform: translateY(-5px);
}
.basket-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.basket-big-box {
  transition: transform 0.3s ease, border 0.3s ease;
}

.basket-big-box:hover {
  transform: scale(1.0055);
  border: 2px solid #038443;
  cursor: pointer;
}
