/* Keyword Rules Page Styles */

.keyword-rules-page .cl-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.keyword-rules-page .header-actions {
  display: flex;
  gap: 10px;
}

.keyword-rules-page .action-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.keyword-rules-page .pagination-row {
  margin-top: 15px;
}

/* Import Modal Styles - No parent class needed since Bootstrap moves modal to body */
#importKeywordRuleModal .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#importKeywordRuleModal .modal-header {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 20px 25px;
}

#importKeywordRuleModal .modal-header .close {
  color: white;
  opacity: 0.9;
  text-shadow: none;
}

#importKeywordRuleModal .modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

#importKeywordRuleModal .modal-title .fa {
  margin-right: 8px;
}

#importKeywordRuleModal .modal-body {
  padding: 25px;
}

#importKeywordRuleModal .file-upload-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

#importKeywordRuleModal .file-upload-label .fa-upload {
  color: #16a34a;
  margin-right: 5px;
}

#importKeywordRuleModal .form-control[type="file"] {
  height: 45px;
  padding: 10px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background: #f8f9fa;
}

#importKeywordRuleModal .template-btn-wrapper {
  margin-top: 12px;
}

#importKeywordRuleModal .template-btn {
  background: #f0f0f0;
  color: #555;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

#importKeywordRuleModal .template-btn .fa {
  margin-right: 5px;
}

#importKeywordRuleModal .info-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8eaf6 100%);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  border-left: 4px solid #16a34a;
}

#importKeywordRuleModal .info-box h5 {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

#importKeywordRuleModal .info-box .fa-info-circle {
  color: #16a34a;
  margin-right: 8px;
}

#importKeywordRuleModal .info-box ul {
  margin-bottom: 0;
  padding-left: 20px;
  line-height: 2;
  color: #555;
}

#importKeywordRuleModal .info-box strong {
  color: #16a34a;
}

#importKeywordRuleModal .modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 25px;
  background: #fafafa;
  border-radius: 0 0 12px 12px;
}

#importKeywordRuleModal .modal-footer .btn-default {
  padding: 8px 20px;
  border-radius: 6px;
}

#importKeywordRuleModal .modal-footer .btn-primary {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.4);
}

#importKeywordRuleModal .modal-footer .btn-primary .fa {
  margin-right: 5px;
}
