/* Cache Notice Styles */
.cache-notice {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(59, 130, 246, 0.3);
  position: relative;
  animation: slideDown 0.3s ease-out;
}

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

.cache-notice-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  height: 100%;
}

.cache-notice-icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.cache-notice-text {
  flex: 1;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.btn-cache-refresh {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  height: auto;
  margin: 0;
  vertical-align: middle;
}

.btn-cache-refresh:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cache-refresh:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-cache-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .cache-notice {
    padding: 5px 10px;
    margin-bottom: 10px;
  }
  
  .cache-notice-content {
    gap: 6px;
  }
  
  .cache-notice-icon {
    font-size: 12px;
  }
  
  .cache-notice-text {
    font-size: 11px;
  }
  
  .btn-cache-refresh {
    padding: 3px 8px;
    font-size: 11px;
  }
}
