/* ==============================================
   GLOBAL LAYOUT & BODY
   ==============================================
*/

html, body {
  height: 100%;
}

body {
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding-bottom: 120px;
}

/* ==============================================
   NAVBAR
   ==============================================
*/

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
}

.navbar-nav .nav-link {
  color: #555;
  font-weight: 500;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
}

/* ==============================================
   AUCTION CARDS
   ============================================== 
*/

.auction-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.auction-card:hover {
  transform: translateY(-5px);
}

.auction-image {
  position: relative;
}

.auction-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner span {
  font-weight: 600;
}

/* ==============================================
   FOOTER
   ============================================== 
*/

.site-footer {
  background-color: #efefef !important;
  color: #ddd;
}

.site-footer hr {
  opacity: 0.2;
}

.site-footer a:hover {
  color: #0d6efd !important;
}

/* ==============================================
   AUCTION DETAIL PAGE
   ============================================== 
*/

.auction-hero img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.auction-detail h2 {
  font-weight: 700;
}

.auction-detail .card {
  border: none;
  border-radius: 10px;
}

.auction-detail .btn-lg {
  font-weight: 600;
  border-radius: 8px;
}

/* ==============================================
   AUCTION GALLERY
   ============================================== 
*/

.carousel-item img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.carousel-item img:hover {
  transform: scale(1.02);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-inner {
  border-radius: 10px;
  overflow: hidden;
}

/* ==============================================
   LOT NAVIGATION BAR
   ============================================== 
*/

.lot-navigation {
  background-color: #f8f9fa;
  border-color: #e1e1e1 !important;
  border-radius: 8px;
}

.lot-navigation h6 {
  font-weight: 600;
  font-size: 0.95rem;
}

.lot-navigation .btn {
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* ==============================================
   RESOURCE DOCUMENT LIST
   ============================================== 
*/

.property-resources .list-group-item {
  font-size: 0.95rem;
}

.property-resources .list-group-item span {
  font-weight: 500;
}

.property-resources .btn-sm {
  padding: 0.25rem 0.75rem;
}

/* ==============================================
   RESOURCE CARDS
   ============================================== 
*/

.resource-card {
  background-color: #f8f9fa;
  transition: all 0.2s ease;
  border-color: #e4e4e4 !important;
}

.resource-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.resource-icon i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-card h6 {
  font-size: 0.95rem;
  color: #333;
}

.resource-card small {
  font-size: 0.8rem;
  color: #888;
}

.resource-card .btn {
  white-space: nowrap;
}

/* ==============================================
   ABOUT PAGE
   ============================================== 
*/

.about-hero {
  background: linear-gradient(to right, #0d6efd0f, #f8f9fa);
  border-radius: 15px;
  padding: 2rem;
}

.about-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
}


/* ==============================================
   LOGIN PAGE
   ============================================== 
*/

.login-page {
  background: linear-gradient(135deg, #e9ecef 0%, #f5f7fa 50%, #ffffff 100%);
}


/* ==============================================
   ACCOUNT PAGE
   ============================================== 
*/

.account-container {
  display: flex;
  min-height: 100%;
}

.account-sidebar {
  flex: 0 0 300px;
  background: #f8f9fa;
}

.account-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account-content .tab-content {
  flex: 1;
  min-height: 100%;
}