/* --- Design Tokens for Premium Cards --- */
:root {
  --primary: #4e0078;
  --primary-container: #6a1b9a;
  --secondary: #8b5000;
  --secondary-container: #ff9800;
  --surface: #f8f9fa;
  --surface-container-lowest: #ffffff;
  --surface-container: #edeeef;
  --on-surface: #191c1d;
  --on-surface-variant: #4d4351;
  --outline-variant: #d0c2d3;
  --background: #f8f9fa;
  
  /* Card Container */
  --card-height: 140px;
  --card-radius: 24px;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 12px 35px rgba(90, 42, 156, 0.12);
  
  /* Request Card Fixed Colors */
  --request-bg: #ffffff;
  --request-border: #d0c2d3;
  --request-accent: #ff8a00;
  
  /* Legacy/Shared tokens */
  --clr-1: #7000ff;
  --clr-2: #ff0055;
  --clr-3: #ff00c8;
  --clr-4: #ffe605;
}

/* --- Base Card Container (Shared with Requests) --- */
.card-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 25px;
  display: inline-block;
  break-inside: avoid;
  border-radius: 25px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: var(--bg-color, #f5f5f7);
  cursor: pointer;
}

.card-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(112, 0, 255, 0.2);
}

/* --- Premium Product Card Styles --- */
.product-card-premium {
    width: 100%;
    background: var(--surface-container-lowest);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid #5a2a9c;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 40px 60px -15px rgba(78, 0, 120, 0.06);
    position: relative;
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    cursor: pointer;
    min-height: 140px;
}

.product-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(78, 0, 120, 0.2);
}

/* ===== NEW: Request Card Fixed Background (الخلفية الثابتة للمناقصة) ===== */
.product-card-premium.request-mode {
    background: var(--request-bg);
    border: 2px solid #fbbf24;
}

.product-card-premium.request-mode .card-image-premium {
    background: #fff5e0;
}

.product-card-premium.request-mode .price-order-premium,
.product-card-premium.request-mode .card-actions-premium {
    border-top-color: var(--request-border);
}

.product-card-premium.request-mode .request-banner-premium {
    background: linear-gradient(135deg, var(--request-accent), #ff5e00);
}

.product-card-premium.request-mode .badge-tender-premium {
    background: linear-gradient(135deg, var(--request-accent), #ff5e00);
}

/* ===== End Request Card Fixed Background ===== */

.card-image-premium {
    position: relative;
    width: 35%;
    min-height: 180px;
    overflow: hidden;
    background: var(--surface-container);
    flex-shrink: 0;
}

.card-image-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card-premium:hover .card-image-premium img {
    transform: scale(1.05);
}

.card-badge-premium {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 5;
}

.badge-premium {
    background: rgba(201, 125, 236, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.favorite-btn-premium {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

.favorite-btn-premium:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.favorite-btn-premium.active {
    background: #fff1f2;
    color: #ef4444;
}

.favorite-btn-premium.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

.card-content-premium {
    width: 65%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.card-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.category-premium {
    font-size: 10px;
    font-weight: 600;
    color: var(--on-surface-variant, #eeebf0);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.product-title-premium {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary, #4e0078);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

.rating-premium {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--surface-container);
    padding: 0.35rem 0.65rem;
    border-radius: 0.75rem;
    color: var(--on-surface);
}

.rating-premium .material-symbols-outlined {
    font-size: 1rem;
    color: var(--secondary);
    font-variation-settings: 'FILL' 1;
}

.rating-premium span {
    font-size: 0.8rem;
    font-weight: 800;
}

.product-description-premium {
  font-size: 11px;
  line-height: 1.5;
  color: #5a2a9c;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-order-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--outline-variant, #d0c2d3);
    border-bottom: 1px solid var(--outline-variant, #d0c2d3);
    margin: 6px 0;
}

.label-premium {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--outline, #7f7383);
    margin-bottom: 3px;
}

.value-premium {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary, #4e0078);
    margin: 0;
}

.note-premium {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

.order-value-premium {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary, #4e0078);
    margin: 0;
}

.text-right-premium {
    text-align: right;
}

.card-actions-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.contact-btn-premium {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--primary, #4e0078), var(--primary-container, #6a1b9a));
    color: white !important;
    border: none;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(78, 0, 120, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.contact-btn-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(78, 0, 120, 0.3);
}

.contact-btn-premium:active {
    transform: scale(0.98);
}

.contact-btn-premium .material-symbols-outlined {
    font-size: 14px;
}

/* Details Button */
.details-btn-premium {
    padding: 8px 12px;
    background: transparent;
    color: var(--primary, #4e0078);
    border: 2px solid var(--primary, #4e0078);
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.details-btn-premium:hover {
    background: var(--primary, #4e0078);
    color: white;
    transform: scale(1.02);
}

.details-btn-premium:active {
    transform: scale(0.98);
}

.details-btn-premium .material-symbols-outlined {
    font-size: 14px;
}

/* --- Submit Offer Button in Request Cards (Orange) --- */
.product-card-premium.request-mode .contact-btn-premium {
    background: linear-gradient(135deg, #ff8a00, #ff5e00) !important;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.25) !important;
}

.product-card-premium.request-mode .contact-btn-premium:hover {
    background: linear-gradient(135deg, #ff7200, #ff4d00) !important;
    box-shadow: 0 10px 30px rgba(255, 138, 0, 0.35) !important;
}

.product-card-premium.request-mode .details-btn-premium {
    border-color: #ff8a00;
    color: #ff8a00;
}

.product-card-premium.request-mode .details-btn-premium:hover {
    background: #ff8a00;
    color: white;
}

/* --- Author Info Section --- */
.author-info-premium {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.author-details-premium {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name-premium {
    font-size: 11px;
    font-weight: 600;
    color: var(--on-surface, #191c1d);
}

.post-time-premium {
    font-size: 9px;
    color: var(--on-surface-variant, #4d4351);
}

.author-avatar-premium {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--outline-variant, #d0c2d3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: var(--surface-container);
}

.author-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 12px;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Premium Request Layout Components --- */
.request-banner-premium {
    display: none;
}

.request-stats-grid {
    display: flex;
    gap: 12px;
    margin: 10px 0;
}

.request-stat-box {
    flex: 1;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 3px solid #ff8a00;
}

.request-stat-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 2px;
}

.request-stat-value {
    font-size: 14px;
    font-weight: 800;
    color: #5a2a9c;
}

.badge-tender-premium {
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
}

/* --- Shared image styles for Requests --- */
.full-card-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* --- Premium Request Card Design (V2) --- */
.request-card-v2 {
  width: 100% !important;
  min-height: 480px;
  background: linear-gradient(135deg, #e0f2f1 0%, #b2ebf2 100%) !important;
  display: flex !important;
  flex-direction: column;
  padding: 0;
  margin-bottom: 25px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.request-card-v2::after {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%) !important;
  inset: 4px;
}

.author-bubble-v2 {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.author-bubble-v2:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--clr-1);
}

.user-avatar-small.user-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-1), var(--clr-2));
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.user-name-small {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
}

.request-card-v2 .card-content {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  margin: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: transparent;
}

.request-card-v2 .image-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  background: var(--surface-container);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-card-v2 .image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0.75rem;
}

.request-card-v2:hover .image-box img {
  transform: scale(1.05);
}

.zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(112, 0, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 1.5rem;
}

.request-card-v2 .image-box:hover .zoom-hint { opacity: 1; }

.request-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.order-details-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #555;
  padding: 8px 12px;
  background: rgba(112, 0, 255, 0.03);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.detail-item:hover { background: rgba(112, 0, 255, 0.08); }

.detail-item i {
  width: 20px;
  color: var(--clr-1);
  font-size: 1rem;
  text-align: center;
}

.detail-item strong {
  margin-right: auto;
  color: #000;
  font-weight: 700;
}

/* --- Action Buttons --- */
.action-buttons-overlay-v2 {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-card {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary-card {
  background: linear-gradient(135deg, var(--clr-1), var(--clr-2));
  color: white;
  box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

.btn-primary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(112, 0, 255, 0.5);
}

.btn-secondary-card {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary-card:hover {
  background: #e8e8e8;
  transform: translateY(-3px);
}

/* --- Submit Offer (Tender) Button --- */
.submit-btn-modal,
#offerSubmitBtn,
.btn-submit-offer {
  background: linear-gradient(135deg, #ff8a00, #ff5e00) !important;
  color: #fff !important;
  border: none !important;
  padding: 15px !important;
  border-radius: 10px !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.25) !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

.submit-btn-modal:hover,
#offerSubmitBtn:hover,
.btn-submit-offer:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(255, 138, 0, 0.35) !important;
}

/* --- Real-time Update Animations --- */
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-new-entry {
  animation: slideInDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.card-new-entry::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
  z-index: 10;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
  50% { box-shadow: 0 5px 30px rgba(112, 0, 255, 0.3); }
}

.card-updating { animation: pulse 0.6s ease-in-out; }

@keyframes glow {
  0%, 100% { border-color: transparent; }
  50% { border-color: rgba(112, 0, 255, 0.5); }
}

.card-updated {
  border: 2px solid transparent;
  animation: glow 0.6s ease-in-out;
}

@keyframes slideOutUp {
  to { opacity: 0; transform: translateY(-20px) scale(0.95); }
}

.card-removing { animation: slideOutUp 0.3s ease-in-out forwards; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.card-error { animation: shake 0.5s ease-in-out; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .request-card-v2 .image-box { height: 200px; }
  .action-buttons-overlay-v2 { flex-direction: column; gap: 8px; }
  .order-details-list { margin-bottom: 15px; }
  .card-container:hover { transform: none; }
}

/* ===================================
   Profile Post Mini-Cards (Compact)
   =================================== */

.post-mini-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.post-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
}

.post-img {
  position: relative;
  height: 120px;
  background: var(--surface-container);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 0.25rem;
}

.post-mini-card:hover .post-img img {
  transform: scale(1.05);
}

.post-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}

.post-status.active {
  background: #22c55e;
  color: #fff;
}

.post-status.reserved {
  background: #f59e0b;
  color: #fff;
}

.post-info {
  padding: 12px;
  text-align: right;
}

.post-info h4 {
  font-size: 0.85rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-dark);
}

.post-info p {
  font-size: 0.75rem;
  color: #7b1fa2;
  font-weight: bold;
}

.post-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: flex-end;
}

.btn-icon-edit,
.btn-icon-delete {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s;
  color: #64748b;
}

.btn-icon-edit:hover {
  background: #e0f2fe;
  color: #3b82f6;
}

.btn-icon-delete:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* ===================================
   Add Post Card & Section Styles
   =================================== */

.add-post-card {
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  transition: 0.3s;
  min-height: 180px;
}

.add-post-card:hover {
  border-color: #7b1fa2;
  color: #7b1fa2;
  background: #fdfaff;
}

.add-post-card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.badge-count {
  background: #7b1fa2;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.posts-section {
  margin-top: 20px;
}

/* ===================================
   Dynamic Performance Bars
   =================================== */

.bar-fill-dynamic {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--primary-color, #7b1fa2);
}

/* ===================================
   Premium Rating Badge
   =================================== */

.rating-badge-premium {
    background: rgba(255, 152, 0, 0.1); 
    color: #f59e0b; 
    padding: 2px 10px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 152, 0, 0.2);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.rating-badge-premium:hover {
    background: rgba(255, 152, 0, 0.2);
    transform: scale(1.05);
}

.rating-badge-premium i {
    font-size: 0.7rem;
}

.rating-count-small {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 400;
    margin-right: 4px;
}

/* Tooltip style */
[title] {
    cursor: help;
}

/* Layout helper for Author Bubble */
.author-info-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ensure the author bubble expands to show the rating on the same line if possible */
.author-bubble, .author-bubble-v2 {
    max-width: 90%;
    justify-content: space-between;
}

/* ===================================
   Smart Trust Alerts (Chat)
   =================================== */

.cc-trust-alert {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 10px 0 20px 0;
    animation: fadeInDown 0.5s ease-out;
}

.cc-trust-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #065f46;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cc-trust-alert-content i {
    font-size: 1.25rem;
    color: #10b981;
}

.cc-trust-alert-content strong {
    color: #047857;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   Rating Notification Styles
   =================================== */

.has-rating-notification {
    position: relative;
}

.has-rating-notification::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #f59e0b;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    z-index: 5;
}

.notification-shake {
    animation: bell-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes bell-shake {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    85% { transform: rotate(-5deg); }
}