@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

/* âœ… Apply consistent font family */
body, 
#aiolo-form, 
#aiolo-results, 
.dropdown-toggle, 
.upgrade-card, 
.upgrade-button {
    font-family: 'Outfit', sans-serif !important;
}

/* ðŸ”¹ Centering the form */
#aiolo-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

:root {
  --aiolo-purple: #7229ee;
  --aiolo-light-gray: #ccc;
}

.aiolo-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 775px;
  margin: 0 auto;
}

#aiolo-url {
  width: 100%;
  height: 100px;
  padding: 0px 80px 50px 20px; /* Top, Right, Bottom, Left */
  font-size: 16px;
  border: none;
  border-radius: 25px;
  background-color: #ffffff;
  box-shadow: 0 0 12px rgba(114, 41, 238, 0.2);
  outline: none;
  transition: box-shadow 0.2s ease-in-out;
  text-align: left;
  line-height: 1.4;
}

#aiolo-url::placeholder {
  color: #666;
  font-size: 15px;
  text-align: left;
}

#aiolo-url:focus {
  box-shadow: 0 0 18px rgba(114, 41, 238, 0.4);
}

.aiolo-icons-left {
  position: absolute;
  bottom: 18px;
  left: 20px;
  display: flex;
  gap: 10px;
}

.aiolo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(100%) brightness(2.5) opacity(0.4); /* lighter + more faded */
  transition: filter 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}


.aiolo-icon:hover {
  filter: none;
  filter: brightness(0) saturate(100%) sepia(100%) hue-rotate(255deg) brightness(1.2);
  transform: scale(1.05);
}

#aiolo-submit {
  position: absolute;
  bottom: 10px; /* Match .aiolo-icons-left */
  right: 15px;
  transform: translateY(0); /* Remove vertical offset */
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

#aiolo-form {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ðŸ”¹ Progress bar styles */
#aiolo-progress-container {
    width: 60%;
    margin: 40px auto 20px auto;
    text-align: center;
}

#aiolo-progress-bar {
    width: 100%;
    background: #ddd;
    overflow: hidden;
    margin-top: 30px;
}

#aiolo-progress-fill {
    width: 0%;
    height: 10px;
    background: linear-gradient(to right, #7229ee, #00c2cc);
    transition: width 1s ease-in-out;
}

/* ðŸ”¹ Analyzing message */
#aiolo-analyzing-text {
    text-align: center;
    font-weight: normal;
    color: #555;
    display: none;
    margin-top: 15px;
}

/* ðŸ”¹ Hide report until results load */
#aiolo-results {
    width: 100%;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    font-size: 16px;
    display: none; /* âœ… Hide until results load */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ðŸ”¹ Remove unwanted gray border */
#aiolo-results-container {
    display: none;
    border: none !important;
    overflow: visible !important; 
}

/* ðŸ”¹ Dropdown Styling */
.dropdown-toggle {
    background: #7229ee !important;
    color: white;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5px;
    border-radius: 0;
    position: relative;
    transition: background 0.3s;
}

/* âœ… Ensure hover and active states stay aqua */
.dropdown-toggle:hover,
#aiolo-results .dropdown-toggle.active,
#aiolo-results .dropdown-toggle:hover,
#aiolo-results .dropdown-toggle[aria-expanded="true"] {
    background: #00c2cc !important;
}

/* ðŸ”¹ Dropdown Arrow Rotation */
.dropdown-toggle::after {
    content: '\25BC'; /* Down triangle Unicode */
    float: right;
    margin-right: 10px;
    font-size: 10px;
    transition: transform 0.3s;
}

/* âœ… Flip arrow when active */
.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

/* ✅ Ensure dropdown content is hidden initially but not blocked */
.dropdown-content {
    display: none; /* Keep it hidden initially */
    padding: 10px;
    background: #ffffff;
    text-align: left;
    border-left: 4px solid #00c2cc;
    margin-bottom: 5px;
    position: relative;
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: visible !important;
}


/* ðŸ”¹ Grades (Alignment & Colors) */
.grade {
    display: inline-block;
    width: 30px; /* Ensures uniform size */
    text-align: right; /* âœ… Aligns text to the right */
    font-weight: bold;
}

/* âœ… Color-code the grades */
.grade[data-grade="A"] { color: #28a745; } /* Green */
.grade[data-grade="B"] { color: #ffc107; } /* Yellow */
.grade[data-grade="D"], .grade[data-grade="C"] { color: #fd7e14; } /* Orange */
.grade[data-grade="F"] { color: #dc3545; } /* Red */

/* ðŸ”¹ Upgrade Card */
.upgrade-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border: none;
    position: absolute;
    z-index: 1000;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    margin-top: -380px; /* Adjusted to lift card above blurred text */
    
    /* ✅ Center it horizontally */
    left: 50%;
    transform: translateX(-50%);

}

/* ðŸ”¹ Upgrade Header */
.upgrade-header {
    background: #7229ee;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    margin: -20px -20px 20px -20px;
    text-align: center;
    position: relative;
}

/* ðŸ”¹ Popular Badge */
.popular-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #00c2cc;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 0px;
}

/* ðŸ”¹ Upgrade Card Text */
.upgrade-card p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* ðŸ”¹ Features List */
.upgrade-card ul {
    list-style-type: none;
    padding: 0;
}

.upgrade-card li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    text-align: left;
    display: flex;
    align-items: center;
}

.upgrade-card li::before {
    content: '\2705'; /* âœ… Checkmark Unicode */
    margin-right: 10px;
    color: green;
}

.upgrade-card li:last-child {
    border-bottom: none;
}

/* 🔹 Upgrade Button - Default State */
.upgrade-button {
    background: #7229ee !important; /* Aiolo Purple */
    color: white !important;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
    display: block;
    width: 50%;
    margin: 15px auto 0;
    border-radius: 0px;
    text-align: center;
    
}

/* 🔹 Ensure Text is Always White on Hover */
.upgrade-button, 
.upgrade-button:hover, 
.upgrade-button:focus, 
.upgrade-button:active {
    color: white !important;
}

/* 🔹 Upgrade Button - Hover State */
.upgrade-button:hover {
    background-color: #5CE1E6 !important; /* Aiolo Aqua */
    border-color: #5CE1E6 !important;
}


/* âœ… Move "Page Analyzed" to the left */
#aiolo-analyzed-url {
    text-align: left;
    font-size: 16px;
    margin: 20px 0 10px 25px;
    display: none;
}

/* âœ… Ensure "Analyze Another Website" button is standalone */
#analyze-again {
    display: none;
    text-align: center;
    margin-top: 100px;
}

/* âœ… Style the standalone button */
#analyze-again button {
    background-color: #7426ef;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    width: auto;
    display: inline-block;
    border-radius: 0px;
}

/* âœ… Ensure mobile responsiveness */
@media screen and (max-width: 768px) {
    #aiolo-results {
        width: 95% !important;
        padding: 20px !important;
        margin: 10px auto !important;
    }

/* Force styles to apply to the deeply nested .accordion-toggle */
#content > div > div > div > div > div > div > div > div:nth-child(3) > div.accordion-toggle {
    width: 100% !important;
    display: block !important;
    text-align: left !important;
    background-color: #7229ee !important; /* Aiolo Purple */
    color: white !important;
    padding: 15px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

/* Ensure parent .category container does not restrict width */
.category {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
}


/* Hover & Active State */
#content div.accordion-toggle:hover,
#content div.accordion-toggle.active {
    background-color: #5C1BCF !important;
}


/* Override Elementor’s default button styles */
.elementor-kit-6 button.accordion-toggle,
.elementor-kit-6 button {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
}

/* Ensure parent container (.category) does not restrict width */
.category {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}


.aiolo-scan-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
}

.aiolo-scan-row span {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 999px;
}

.aiolo-scan-row a {
  text-decoration: none;
  color: #333;
}
.aiolo-ticker-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  position: relative;
  background: #fafafa;
}


/* Unified styles */
.elementor-shortcode .aiolo-ticker-container {
  width: 100vw; /* Full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #fff;
  padding: 10px 0;
  z-index: 1;
}


.elementor-shortcode .aiolo-ticker-track-wrapper {
  display: flex;
  width: max-content;
  animation: aiolo-scroll-left 30s linear infinite;
}

.elementor-shortcode .aiolo-ticker-track {
  display: flex;
  white-space: nowrap;
}

.elementor-shortcode .aiolo-ticker-item {
  margin-right: 30px;
  font-size: 16px;
  color: #444;
  flex-shrink: 0;
}

.elementor-shortcode .aiolo-ticker-item a {
  text-decoration: none;
  color: #5e5e5e;
}

@keyframes aiolo-scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.support-button {
  color: #7229EE;
  transition: color 0.2s ease;
  border: none;
}

.support-button:hover {
  color: #11eefc;
  cursor: pointer;
}

#aiolo-dynamic-sidebar-links {
  margin-bottom: 20px;
}

.aiolo-sidebar-heading {
  display: flex;
  align-items: center; /* ✅ vertically centers text with icon */
  font-weight: 400;
  font-size: 15px;
  color: #121212;
  margin-top: 20px;
  margin-bottom: 8px;
  line-height: 1;
}

.aiolo-folder-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  flex-shrink: 0;
}


.aiolo-link-hover {
  display: block; /* ⬅️ makes it full width */
  width: 100%;
  color: #00cfff;
  padding: 7px 15px;
  border-radius: 20px;
  transition: all 0.2s ease;
  font-weight: 400;
}

.aiolo-link-hover:hover {
  background-color: #f0f0f0;
  color: white;
}
#aiolo-dynamic-sidebar-links a + .aiolo-sidebar-heading {
  margin-top: 30px; /* ✅ adds 30px top margin only before second section heading */
}


@media screen and (max-width: 768px) {
  .aiolo-link-hover {
    padding: 5px 10px;
    font-size: 14px;
  }

  .aiolo-sidebar-heading {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

.aiolo-signup-block {
  margin: 0 !important;         /* Remove all outside margin */
  padding: 0 !important;        /* Just in case */
}


.aiolo-signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffe6ff;
  color: #7229ee;
  text-decoration: none;
  font-weight: 500;
  border-radius: 25px;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
  transition: background 0.2s ease;
}

.aiolo-signup-btn:hover {
  background: #f0f0f0;
  color: #5c1bcf;
}

.aiolo-signup-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.aiolo-signup-note {
  font-size: 13px;
  line-height: 1.4;
  color: #111;
  margin-top: 10px;
  padding-left: 2px;
}


button.wpums-show-password {
  position: absolute !important;;
  top: 12px !important;; /* 👈 adjust based on input height */
  right: 12px !important;;
  background: transparent !important;;
  border: none !important;;
  padding: 0 !important;;
  margin: 0 !important;;
  height: auto !important;;
  width: auto !important;;
  display: inline-block !important;;
}



button.wpums-show-password .dashicons {
  font-size: 18px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  color: #666 !important;
  transition: color 0.2s ease-in-out;
  vertical-align: top;
  display: inline-block;
}

button.wpums-show-password:hover .dashicons,
button.wpums-show-password:focus .dashicons,
button.wpums-show-password:active .dashicons {
  color: #666 !important; /* or #000 if you prefer darker */
}

.aiolo-cert-btn {
    display: flex;
    align-items: center;          /* Vertically centers icon and text */
    justify-content: flex-start;  /* 👈 Left-aligns the content */
    gap: 10px;
    background-color: transparent;
    border: none;
    color: #1f2937;
    padding: 10px 5px;
    border-radius: 999px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}



.aiolo-cert-btn:hover {
    background-color: #f4f4f4;  /* Light gray like the Support button */
    color: #1f2937;
}


.aiolo-signup-icon {
    width: 24px;
    height: 24px;
}
.grade-cell {
  font-weight: bold;
  text-align: center;
  padding: 6px 10px;
}
.grade-a { color: #2ecc71; }      /* Green */
.grade-b { color: #f1c40f; }      /* Yellow */
.grade-c { color: #f39c12; }      /* Orange */
.grade-d { color: #e74c3c; }      /* Red */
.grade-f { color: #a83232; }      /* Dark Red */
.grade-na { color: #bdc3c7; }     /* Gray for N/A */
.score-number {
  font-weight: normal;
  font-size: 0.85em;
  color: #555;
}

/* File: /assets/css/certification.css */

.aiolo-cert-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Outfit", sans-serif;
}

.aiolo-cert-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.aiolo-cert-header p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.aiolo-cert-pricing h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.aiolo-cert-pricing-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.aiolo-cert-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  flex: 1 1 45%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
}

.aiolo-cert-box.highlighted {
  border: 2px solid #007cff;
  background: #f0f7ff;
}

.aiolo-cert-box h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.aiolo-cert-box p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
}

.aiolo-cert-box ul {
  text-align: left;
  margin: 0 auto 20px;
  max-width: 240px;
  padding-left: 20px;
}

.aiolo-cert-button {
  display: inline-block;
  background: #007cff;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.aiolo-cert-button:hover {
  background: #005fc2;
}

.aiolo-cert-footer {
  margin-top: 40px;
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 8px;
}

.aiolo-cert-footer h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.aiolo-cert-footer p {
  font-size: 1rem;
  color: #555;
}
