/* 合同搜索页面样式 */
:root {
  --primary-color: #00684a;
  --primary-hover: #005a40;
  --primary-light: rgba(0, 104, 74, 0.1);
  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #ff4d4f;
  --text-color: rgba(0, 0, 0, 0.85);
  --text-secondary: rgba(0, 0, 0, 0.45);
  --border-color: #f0f0f0;
  --bg-gray: #f5f5f5;
  --gradient-bg: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
}

.content-area {
  @apply flex-1 p-6 overflow-y-auto;
}

.search-hero {
  @apply text-center py-16 bg-gradient-to-r from-green-50 to-blue-50 rounded-2xl mb-8;
}

.search-title {
  @apply text-3xl font-semibold text-gray-800 mb-3;
}

.search-subtitle {
  @apply text-base text-gray-600 mb-10;
}

.search-container {
  @apply max-w-xl mx-auto relative;
}

.search-box {
  @apply bg-white border-2 border-gray-200 rounded-xl p-4 shadow-md transition-all;
}

.search-box:focus-within {
  @apply border-green-600 shadow-lg;
}

.search-textarea {
  @apply w-full min-h-[80px] border-none outline-none resize-vertical text-base leading-relaxed;
}

.search-actions {
  @apply flex justify-between items-center mt-3 pt-3 border-t border-gray-100;
}

.search-tips {
  @apply text-xs text-gray-500;
}

.search-btn {
  @apply bg-green-700 text-white border-none rounded-lg py-2.5 px-6 text-sm font-medium cursor-pointer transition-all flex items-center gap-1.5;
}

.search-btn:hover {
  @apply bg-green-800 transform -translate-y-0.5;
}

.quick-categories {
  @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4 mt-10;
}

.category-card {
  @apply bg-white rounded-xl p-5 text-center cursor-pointer transition-all border border-gray-100 shadow-sm;
}

.category-card:hover {
  @apply transform -translate-y-0.5 shadow-md border-green-700;
}

.category-icon {
  @apply w-12 h-12 bg-green-100 rounded-xl flex items-center justify-center mx-auto mb-3 text-green-700;
}

.category-title {
  @apply text-base font-medium mb-1;
}

.category-count {
  @apply text-xs text-gray-500;
}

.contract-search-container {
  @apply w-full p-6 bg-white rounded-lg shadow-sm;
}

.search-header {
  @apply mb-6;
}

.search-description {
  @apply text-gray-600 text-sm;
}

.search-form {
  @apply mb-6;
}

.search-form-row {
  @apply flex flex-wrap items-center gap-4 mb-4;
}

.search-form-item {
  @apply flex-grow min-w-[200px];
}

.search-form-label {
  @apply block text-sm font-medium text-gray-700 mb-1;
}

.search-form-input {
  @apply w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent;
}

.search-form-select {
  @apply w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent;
}

.search-form-date {
  @apply w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent;
}

.search-buttons {
  @apply flex justify-end gap-4 mt-6;
}

.search-button {
  @apply px-4 py-2 rounded-md font-medium;
}

.search-button-primary {
  @apply bg-blue-600 text-white hover:bg-blue-700;
}

.search-button-secondary {
  @apply bg-gray-200 text-gray-700 hover:bg-gray-300;
}

.search-results {
  @apply mt-8;
}

.search-results-header {
  @apply flex justify-between items-center mb-4;
}

.search-results-title {
  @apply text-lg font-medium text-gray-800;
}

.search-results-count {
  @apply text-gray-600;
}

.search-results-table {
  @apply w-full border-collapse;
}

.search-results-table th {
  @apply px-4 py-3 bg-gray-100 text-left text-xs font-medium text-gray-600 uppercase tracking-wider;
}

.search-results-table td {
  @apply px-4 py-3 border-t border-gray-200 text-sm;
}

.search-results-actions {
  @apply flex gap-2;
}

.search-results-action {
  @apply text-blue-600 hover:text-blue-800 cursor-pointer;
}

.no-results {
  @apply py-12 text-center text-gray-500;
}

.pagination-container {
  @apply mt-6 flex justify-center;
} 