/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*Allocation History Tab*/

.cc-allocation-history {
  max-width: 1000px;
  margin: 0 auto;
}

.cc-allocation-history h2 {
  margin-bottom: 40px;
  font-size: 28px;
  color:#171f2f ;
}

.cc-allocation-card {
  background: white;
	border: 1px solid #8FBF00;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.cc-allocation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.cc-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}

.cc-card-col strong {
  display: block;
  color: #171f2f;
  font-size: 14px;
  margin-bottom: 4px;
}

.cc-order-id {
  font-size: 20px;
  font-weight: bold;
  color: #8FBF00;
}

.cc-status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.cc-status-processing { background: #8FBF00; color: white; }
.cc-status-completed { background: #27ae60; color: white; }
.cc-status-on-hold { background: #f39c12; color: white; }
.cc-status-cancelled { background: #e74c3c; color: white; }

.cc-card-items {
  margin: 20px 0;
  line-height: 1.6;
  color: #34495e;
}

.cc-card-actions {
  text-align: right;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
  .cc-card-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cc-card-actions {
    text-align: center;
    margin-top: 16px;
  }
}

/*Allocation History Tab Ends*/

.text-sec h4 {
	color: #D7FB00 !important;
  -webkit-text-stroke: 1px #171F2F;
}

.cc-credits-balance {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px 32px; /* Reduced from 30px 40px */
  border-radius: 18px; /* Slightly smaller */
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 520px; /* Tighter max-width */
  margin: 0 auto 40px auto;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35); /* Softer shadow */
  position: relative;
  overflow: hidden;
}

.cc-balance-left {
  display: flex;
  flex-direction: column;
}

.cc-credits-label {
  font-size: 16px; /* Smaller label */
  opacity: 0.9;
  font-weight: 500;
  margin-bottom: 6px;
}

.cc-credits-amount {
  font-size: 48px; /* Reduced from 60px */
  font-weight: bold;
  line-height: 1;
  letter-spacing: -1px;
}

.cc-balance-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* Tighter gap */
}

.cc-credits-icon {
  font-size: 42px; /* Smaller icon */
  opacity: 0.8;
}

/* Buy Credits Button - More compact */
.cc-buy-credits-btn {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 16px; /* Smaller text */
  font-weight: bold;
  padding: 10px 24px; /* Smaller padding */
  border: 2px solid white;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cc-buy-credits-btn:hover {
  background: white;
  color: #764ba2;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Responsive - Stack vertically on mobile for better fit */
@media (max-width: 768px) {
  .cc-credits-balance {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .cc-credits-amount {
    font-size: 42px;
  }
  .cc-balance-right {
    flex-direction: row;
    gap: 20px;
  }
  .cc-buy-credits-btn {
    padding: 10px 28px;
  }
}

