/* AWR Customer Dashboard Styling */
.awr-dashboard-wrapper {
    margin: 20px 0;
}
/* imported styles from product add ons */
.wpgrm-field-row {
	margin-bottom: 16px;
}

.wpgrm-field-label label span {
	color: #424343;
	font-weight: 600;
	font-size: 16px;
}

.wpgrm-field-input input, 
.wpgrm-field-input select {
	height: 48px;
	background-color: #FFF;
}

.wpgrm-field-group:not(:last-child) {
	margin-bottom: 60px;
}

.wpgrm-field-group:last-child {
	margin-bottom: 30px;
}

.wpgrm-form-section-title {
	font-size: 26px;
}

.single_add_to_cart_button {
	margin: 0 auto;
	display: block;
}
.se-details-wrapper {
  display: flex;
  column-gap: 36px;
}
#awr-se-details{
  display: none;
}
.se-details-wrapper .wpgrm-field-row.se-details-row {
  flex: 0 0 50%;
  box-sizing: border-box;
}

  #search-engine-details-toggle button {
  background: #175c83;
  padding: 12px 24px;
  color: #fff;
  border-radius: 8px;
  margin: 2rem auto;
	}
 #search-engine-details-toggle button:hover {
  background: #257bac;
  transform: translateY(-5px);
  transition: all linear .3s;
  box-shadow: 0 0 3px 2px rgba(0,0,0,.1);
	}
 #search-engine-details-toggle button:active {
  background: #3693c8;
  transition: all linear .3s;
	}

/*  */
.se-details-row select {
  background: #fff;
  height: 48px;
  font-size: 18px;
  margin-bottom: 10px;
  /* for Firefox */
  -moz-appearance: auto;
  /* for Safari, Chrome, Opera */
  -webkit-appearance: auto;
  appearance: auto;}
.awr-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.awr-dashboard-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.awr-dashboard-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
}

.awr-dashboard-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.awr-dashboard-table tr:hover {
    background-color: #fcfcfc;
}

.awr-btn-edit {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.awr-btn-edit:hover {
    background-color: #005177;
}
.awr-btn-edit:disabled {
    cursor: not-allowed;
    background-color: #ccc !important;
    border-color: #bbb !important;
}
.awr-no-projects {
    font-size: 16px;
    color: #daa208;
    text-align: center;
    margin: 40px 0;
}
.awr-keywords-cell {
  width: 45%;
}
/* --- AWR Toast Notification --- */
#awr-toast-container {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s, bottom 0.4s, visibility 0.4s;
}

/* Animation trigger class */
#awr-toast-container.awr-show {
    visibility: visible;
    opacity: 1;
    bottom: 50px; /* Slides up slightly */
}

/* Success & Error color variants (matching standard WP Admin colors) */
#awr-toast-container.awr-success {
    background-color: #46b450; 
}

#awr-toast-container.awr-error {
    background-color: #d63638; 
}
/* --- Autocomplete Dropdown Styles --- */
.ui-autocomplete {
    position: absolute;
    z-index: 10000;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}

.ui-autocomplete .ui-menu-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: none;
}

/* Hover state for the suggestions */
.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background-color: #f6f7f7;
    color: #0071a1;
}

/* Hide the accessibility helper text WP sometimes injects */
.ui-helper-hidden-accessible {
    display: none;
}

/* --- AWR Dashboard Skeleton Loader --- */
.awr-skeleton-row td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

/* The animated gradient block */
.awr-skeleton-block {
    height: 20px;
    border-radius: 4px;
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%; 
    animation: awr-shimmer 1.5s infinite linear forwards;
}

/* Specific sizing to mimic your table columns */
.awr-skeleton-title { width: 75%; height: 22px; margin-bottom: 8px; }
.awr-skeleton-url { width: 50%; height: 14px; }
.awr-skeleton-keywords { width: 90%; }
.awr-skeleton-date { width: 60%; }
.awr-skeleton-btn { width: 70px; height: 30px; margin: 0 auto; border-radius: 4px; }

/* The Keyframe Animation */
@keyframes awr-shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}