/**
 * Resources Template Styles
 * 
 * External CSS file extracted from inline styles in single-resources.php
 * Combines UTM Builder, Redirect Generator, and Status Checker tool styles
 * 
 * @package UserGrowth2025
 * @since 1.0.0
 */

/* ==========================================================================
   Landing Page Header Styles - Matching Original Design
   ========================================================================== */

/* Hide main navigation for single-resources pages */
body.single-resources header.stick {
    display: none;
}

body.single-resources .navigation-list {
    display: none;
}

/* Landing Logo */
.landing-logo {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .landing-logo img {
        max-width: 40%;
        margin-left: -20px;
    }
}

/* Language Switcher Styles */
.landing-lang-menu {
    display: inline-block;
    text-transform: uppercase;
    list-style: none;
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
}

.landing-lang-menu li#menu-item-lang {
    margin-left: -40px;
    margin-right: 0;
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
    font-size: 16px;
    line-height: 1.66667;
    margin: 0 0 0 19px;
    position: relative;
}

.landing-lang-menu ul.sub-menu li {
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
    font-size: 14px !important;
    letter-spacing: 1px;
}

.landing-lang-menu a.lang {
    color: var(--ug-orange);
    text-decoration: none;
    display: block;
    position: relative;
    padding: 3px 23px 3px 21px;
}

.landing-lang-menu a.lang:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2px;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-bottom: 1px solid var(--ug-orange);
    border-right: 1px solid var(--ug-orange);
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    opacity: 1;
    background: transparent;
}

.landing-lang-menu .sub-menu {
    position: absolute;
    z-index: 50;
    top: calc(100% - 1px);
    left: -100px;
    opacity: 0;
    visibility: hidden;
    padding: 20px 0;
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 20px 29px 0 rgba(207, 67, 20, 0.5);
    transition: all 0.3s ease;
}

.landing-lang-menu li#menu-item-lang:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.landing-lang-menu .sub-menu a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.landing-lang-menu .sub-menu a:hover {
    background-color: var(--ug-orange);
    color: white;
}

/* ==========================================================================
   Resource Banner Section - Matching Original Layout  
   ========================================================================== */

.resource-top-banner {
    background: var(--ug-grey-bg);
    margin-top: -140px;
    padding: 170px 0 40px 0;
}

/* Resource banner layout - explicit flexbox for side-by-side columns */
.resource-top-banner .flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Side-by-side layout on tablet and desktop (768px+) */
@media (min-width: 768px) {
    .resource-top-banner [class*="md:w-7/12"] {
        flex: 0 0 56% !important;
        max-width: 56% !important;
        width: 56% !important;
    }
    
    .resource-top-banner [class*="md:w-5/12"] {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        width: 40% !important;
    }
}

/* Stack columns only on small mobile (767px and below) */
@media (max-width: 767px) {
    .resource-top-banner [class*="md:w-7/12"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        order: 2; /* Show content below image on mobile */
        margin-bottom: 2rem;
    }
    
    .resource-top-banner [class*="md:w-5/12"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        order: 1; /* Show image above content on mobile */
        margin-bottom: 2rem;
    }
}

/* Status Code Tags */
.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    min-width: 2.5rem;
}

.tag.ug-success {
    background-color: #10b981;
    color: white;
}

.tag.ug-info {
    background-color: #3b82f6;
    color: white;
}

.tag.ug-warning {
    background-color: #f59e0b;
    color: white;
}

.tag.ug-danger {
    background-color: #ef4444;
    color: white;
}

/* Search highlight */


/* Detail container styling */
.detail-container {
    border-left: 4px solid var(--ug-orange);
    padding-left: 1rem;
}

/* Removed Bootstrap btn-sm styles to use DaisyUI btn-sm instead */

/* Status checker specific styles */
.chevron-cell {
    width: 2rem;
    text-align: center;
    cursor: pointer;
}

.chevron-cell .icon {
    transition: transform 0.2s ease;
    display: inline-block;
}

.chevron-cell .icon.is-expanded {
    transform: rotate(90deg);
}

.result-table .infoheadingRow:hover {
    background-color: #f9fafb;
}

.is-url {
    min-width: 200px;
}

.has-text-right {
    text-align: right;
}

.summary-container {
    border-left: 4px solid var(--ug-orange);
}

/* Font Awesome fallback - use CSS triangles if FA not loaded */
.fas.fa-chevron-right::before {
    content: "▶";
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.fa-solid.fa-lock::before {
    content: "🔒";
    font-family: Arial, sans-serif;
}

.fa-solid.fa-unlock::before {
    content: "🔓";
    font-family: Arial, sans-serif;
}

.fa-sharp.fa-regular.fa-copy::before {
    content: "📋";
    font-family: Arial, sans-serif;
}

/* Box styling for detail container */
.box {
    background: white;
    border-radius: 0.375rem;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.title.is-5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ug-navy);
}

.button.is-small {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.is-pulled-right {
    float: right;
}

.table__summary {
    width: 100%;
    border-collapse: collapse;
}

.table__summary th,
.table__summary td {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table__summary th {
    background-color: #f9fafb;
    font-weight: 600;
}

.ug-host {
    font-family: monospace;
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Timeline styling */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-item {
    display: -webkit-flex;
    position: relative;
    border-left: 0.2rem solid #c6c8c8;
    margin-left: 1.95em;
}

.timeline-item.is-success {
    border-left-color: #31cd64;
}

.timeline-item.is-blue {
    border-left-color: #33a7ff;
}

.timeline-item.is-red {
    border-left-color: #fc4f52;
}

.timeline-item.is-orange {
    border-left-color: #fda92a;
}

.timeline-item:before {
    border-radius: 100%;
    content: "";
    display: block;
    height: 0.8rem;
    left: -0.45em;
    position: absolute;
    top: 1.2rem;
    width: 0.8rem;
    border: 2px solid #c6c8c8;
    background: white;
}

.timeline-item.is-success:before {
    border-color: #31cd64 !important;
}

.timeline-item.is-blue:before {
    border-color: #33a7ff;
}

.timeline-item.is-red:before {
    border-color: #fc4f52;
}

.timeline-item.is-orange:before {
    border-color: #fda92a;
}

.timeline-content {
    padding: 1em 0 0 2em;
    width: 100%;
}

.timeline-header {
    width: 3.9em;
    text-align: center;
}

.timeline-header span {
    font-size: 1rem;
    color: var(--white);
    align-items: center;
    display: inline-flex;
    height: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    white-space: nowrap;
    border-radius: 4px;
}

/* Column layout for timeline details */
.columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}

.columns.is-multiline {
    flex-wrap: wrap;
}

.columns:not(:last-child) {
    margin-bottom: 0.75rem;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}

.column.is-4 {
    flex: none;
    width: 33.33333%;
}

.column.is-12 {
    width: 100%;
    flex: none;
}

/* Subtitle styling */
.subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    color: #4a4a4a;
    font-weight: 400;
    display: block;
}

.subtitle.is-4 {
    font-size: 1.5rem;
}

.subtitle.is-5 {
    font-size: 1.25rem;
}

.subtitle.has-text-info {
    color: #33a7ff !important;
    margin-bottom: 0;
}

.has-text-weight-normal {
    font-weight: 400 !important;
}

/* Modal styling - matching original implementation */
#usergrowth-modal {
    z-index: 99999;
    padding: 0 !important;
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#usergrowth-modal.is-visible {
    display: block !important;
}

#usergrowth-modal.is-visible .modal-dialog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.resources-template-default.modal-open .modal-backdrop {
    z-index: 9999;
}

.resources-template-default.modal-open .modal-backdrop.is-visible {
    opacity: .86;
}

#usergrowth-modal.is-visible .modal-dialog .modal-content .modal-header {
    border-bottom: 1px solid #d1d5db;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #f5f5f5;
    padding: 20px;
}

#usergrowth-modal.is-visible .modal-dialog .modal-content .modal-header .modal-title {
    color: #363636;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
    word-break: break-word;
    font-weight: 600;
}

#usergrowth-modal.is-visible .modal-dialog .modal-content .modal-header button {
    display: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}

@media (min-width: 992px) {
    #usergrowth-modal .modal-dialog {
        max-width: 800px;
    }
}

#usergrowth-modal.is-visible .modal-dialog .modal-content .modal-body {
    background: #1e1e1e;
    color: white;
    padding: 1rem;
}

#usergrowth-modal.is-visible .modal-dialog .modal-content .modal-body #usergrowth-modal-content p {
    color: white;
}

.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    appearance: none;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
}

.close:hover {
    opacity: .75;
}

/* Removed Bootstrap button styles to avoid conflicts with DaisyUI buttons */

.modal-open {
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
    background-color: #f5f5f5;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

/* Status Checker Form Styling */
/* Textarea styling handled by DaisyUI classes */

/* Status Code Color Classes - Matching Original Design */
.ug-success {
    background-color: #31cd64 !important;
    color: white !important;
    align-items: center !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    font-size: 0.75rem !important;
    height: 2em !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
}

.ug-info {
    background-color: #33a7ff !important;
    color: white !important;
    align-items: center !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    font-size: 0.75rem !important;
    height: 2em !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
}

.ug-warning {
    background-color: #fda92a !important;
    color: white !important;
    align-items: center !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    font-size: 0.75rem !important;
    height: 2em !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
}

.ug-danger {
    background-color: #fc4f52 !important;
    color: white !important;
    align-items: center !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    font-size: 0.75rem !important;
    height: 2em !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    white-space: nowrap !important;
    margin-right: 4px !important;
}

/* Download CSV Button now uses standard btn-outline-navy class */

/* Form styling handled by DaisyUI classes */

/* Result Table Styling */
.result-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 16px;
    background-color: white;
}

.result-table thead {
    background-color: #f9fafb;
}

.result-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.result-table th:first-child {
    border-top-left-radius: 8px;
    width: 40px;
}

.result-table th:last-child {
    border-top-right-radius: 8px;
    text-align: right;
}

.result-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.result-table tbody tr:last-child {
    border-bottom: none;
}

.result-table td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
}

.result-table tbody tr:last-child td {
    border-bottom: none;
}

.result-table .chevron-cell {
    cursor: pointer;
    color: #6b7280;
    width: 40px;
    text-align: center;
}

.result-table .chevron-cell:hover {
    color: #374151;
}

.result-table .is-url {
    display: flex;
    align-items: center;
}

.result-table .is-svg-image {
    display: flex;
    align-items: center;
}

/* Status codes in table cells */
.result-table .td-status-codes .ug-success,
.result-table .td-status-codes .ug-info,
.result-table .td-status-codes .ug-warning,
.result-table .td-status-codes .ug-danger,
#results table tbody tr.infoheadingRow .td-status-codes span,
span.tag.ug-success,
span.tag.ug-info,
span.tag.ug-warning,
span.tag.ug-danger {
    margin-right: 4px;
}

/* Ensure status codes display properly in all contexts */
span.ug-success {
    background-color: #31cd64 !important;
}

span.ug-info {
    background-color: #33a7ff !important;
}

span.ug-warning {
    background-color: #fda92a !important;
}

span.ug-danger {
    background-color: #fc4f52 !important;
}

.result-table .has-text-right {
    text-align: right;
    font-weight: 600;
    color: #374151;
}

.result-table *, .result-table::after, .result-table::before {
    box-sizing: inherit;
}

table.result-table {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    border-collapse: separate;
}

table thead {
    background-color: transparent;
}

table th {
    font-weight: 600;
    border-width: 0 0 2px;
    color: #363636;
}

table th:not([align]) {
    text-align: left;
}

table td, table th {
    border: 1px solid #d1d5db;
    border-width: 0 0 1px;
    padding: 0.5em 0.75em;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.5;
}

#results table {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 4px;
    border-collapse: collapse;
}

#results .result-table>thead tr th {
    cursor: pointer;
}

#results .result-table>thead tr th:first-child {
    width: 40px;
    cursor: default;
}

#results .result-table>thead tr th:hover {
    border-bottom: 2px solid #b5b5b5;
}

#results table tbody tr.info-row {
    box-shadow: inset 0 1px 3px #d1d5db;
    background: #fafafa;
}

#results table tbody tr.info-row .detail-container {
    padding: 1rem;
    max-width: 100%;
    overflow-x: auto;
}

#results table tbody tr.info-row .detail-container h2.title {
    font-size: 1.25rem;
    line-height: 1.125;
    margin-top: 0;
    margin-bottom: 1.5rem;
    word-break: break-word;
    font-weight: 600 !important;
    color: #21252e !important;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#results table tbody tr.info-row>td {
    border: 1px solid #d1d5db;
    border-width: 0 0 1px;
    padding: 0.5em 0.75em;
    vertical-align: top;
}

#results table tbody tr.info-row .detail-container .box {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 3px rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .1);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    min-width: 0;
}

#results table tbody tr.info-row .detail-container .box .table__summary thead tr.summary__head {
    border-bottom: 2px solid #d1d5db;
}

#results table tbody>tr:hover {
    background-color: #fafafa;
}

#results table tbody tr.info-row .detail-container .box .table__summary tbody tr.summary__row td {
    border-bottom: 0;
}

#results table tbody tr.infoheadingRow .chevron-cell .icon {
    transition: transform .15s ease-out,opacity 86ms ease-out,-webkit-transform .15s ease-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

#results table tbody tr.infoheadingRow .chevron-cell .is-expanded {
    transform: rotate(90deg);
}

#results table tbody tr.infoheadingRow .chevron-cell .is-expanded i {
    color: #09f;
}

#results table tbody tr.infoheadingRow .is-url {
    color: #09f;
    cursor: pointer;
    text-decoration: none;
}

#results table tbody tr.infoheadingRow .is-url a {
    color: #09f;
}

.customer_service_text .main-footer p {
    font-size: 1.5em;
    color: #363636;
    font-weight: 600;
    line-height: 1.125;
    margin-top: 1.3333em;
    margin-bottom: 0.6666em;
}

.customer_service_text .main-footer ul {
    margin: 0;
}

.customer_service_text .main-footer ul li {
    color: #4a4a4a;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
}

#results .result-table>thead tr th:first-child:hover {
    border-bottom: 1px solid #d1d5db;
}

#results table tbody tr.infoheadingRow .td-status-codes {
    /* display: flex; */
    /* align-items: center; */
    /* column-gap: 5px; */
    /* Removed display: block !important to keep status codes in proper column */
}

#results table tbody tr.infoheadingRow .td-status-codes span,
span.tag {
    color: white;
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-size: .75rem;
    height: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    white-space: nowrap;
}

#results table tbody tr.info-row .detail-container .box .table__summary tbody tr.summary__row .tagis-success span {
    color: white;
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-size: .75rem;
    height: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    white-space: nowrap;
}

#results table tbody tr.info-row .detail-container .timeline .timeline-header span {
    font-size: 1rem;
    color: white;
    align-items: center;
    display: inline-flex;
    height: 2em;
    justify-content: center;
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    white-space: nowrap;
    border-radius: 4px;
}

.clear-fields-button,
.view-body-button {
    background: white;
    border-radius: 5px;
    border: 1px solid var(--ug-navy);
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.4px;
    color: var(--ug-navy);
    padding: 10px 38px;
    text-transform: uppercase;
}

.clear-fields-button:hover,
.view-body-button:hover {
    background: var(--ug-navy);
    color: white;
}

.button.view-body-button {
    width: auto;
    float: right;
}

#results table tbody tr.info-row .detail-container h2.title button {
    background-color: white;
    border-color: #d1d5db;
    border-width: 1px;
    color: #363636;
    font-weight: 400;
    width: auto;
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(0.375em - 1px);
    padding-left: 0.75em;
    padding-right: 0.75em;
    padding-top: calc(0.375em - 1px);
    text-align: center;
    white-space: nowrap;
    height: 2.25em;
    text-transform: capitalize;
    letter-spacing: normal;
    display: inline-flex;
}

#results table tbody tr:first-child .chevron-cell .icon i {
    color: #09f;
}

#results {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.p-b-md {
    padding-bottom: 1rem;
}

#results table tbody tr.infoheadingRow {
    border-bottom: 1px solid #d1d5db;
}

#results table tbody tr.infoheadingRow td {
    border-bottom: 0;
}

@media only screen and (max-width: 767.98px) {
    .column.is-4 {
        width: 100%;
    }
    
    .customer_service_text #download-csv {
        display: none !important;
    }
}

/* Responsive mobile adjustments */
.is-hidden-mobile {
    display: block;
}

@media screen and (max-width: 768px) {
    .is-hidden-mobile {
        display: none !important;
    }
}

.resource-banner-content {
    text-align: center;
}

.resource-banner-img {
    text-align: center;
}

.resource-banner-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.resource-banner-content h1 {
    font-size: 46px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.52;
    letter-spacing: 2.6px;
    color: var(--ug-navy);
    padding-bottom: 10px;
}

.resource-banner-content p,
.resource-banner-description {
    font-size: 25px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: 0.6px;
    color: var(--ug-navy);
    margin-bottom: 20px;
    text-align: left;
}

.resource-banner-content .form-btn {
    background: linear-gradient(133.81deg, var(--ug-orange) -1.97%, var(--ug-light-orange) 119.98%);
    border-radius: 5px;
    display: inline-block;
    width: auto;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1.4px;
    color: white;
    text-transform: uppercase;
    padding: 20px 38px;
    margin: 4rem auto 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-banner-content .form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 109, 81, 0.3);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .resource-top-banner {
        padding: 150px 0 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .resource-banner-content h1 {
        font-size: 30px;
        line-height: 40px;
    }
    
    .resource-banner-content p,
    .resource-banner-description {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .resource-top-banner {
        padding: 130px 0 10px;
    }
    
    .resource-banner-content {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .resource-banner-content .form-btn {
        margin: 0 auto;
    }
    
    .resource-banner-content h1 {
        font-size: 26px;
        line-height: 38px;
        padding-bottom: 20px;
        text-align: center;
    }
    
    .resource-banner-img {
        text-align: center;
        width: 70%;
        display: block;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Global Utility Classes (TODO: Move to main theme CSS)
   ========================================================================== */

/* NOTE: Code and table styling moved to main theme (src/app.css) for site-wide use */

/* ==========================================================================
   Base Resource Styles
   ========================================================================== */

/* ==========================================================================
   UTM Builder Tool Styles
   ========================================================================== */

.utm-builder-tool .customer_service_text ol,
.utm-builder-tool .customer_service_text ul {
    font-weight: 300;
}

.utm-builder-tool form#url-builder-form {
    position: relative;
}

/* Custom Input Fields */
.utm-input-field {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg text-gray-700 text-sm;
    @apply focus:outline-none focus:ring-2 focus:ring-ug-orange focus:border-transparent;
    @apply hover:border-gray-900 transition-all duration-300;
    font-size: 0.88889rem;
    line-height: 1;
    padding-top: 19px;
    padding-left: 19px;
    outline: none;
}

.utm-input-field:hover {
    border: 1px solid #000 !important;
}

.utm-input-field:focus {
    border: 1px solid #00ce64 !important;
    -webkit-box-shadow: inherit !important;
    box-shadow: inherit !important;
}

/* Floating Labels */
.utm-placeholder-label {
    @apply absolute top-1 left-0.5 px-2 py-1 text-gray-600 text-sm pointer-events-none;
    @apply transition-all duration-300 bg-white z-10;
    transform: translateY(0);
    font-size: 15px;
    padding: 5px 0 0 10px;
}

.utm-input-field:focus ~ .utm-placeholder-label,
.utm-input-field:not(:placeholder-shown) ~ .utm-placeholder-label {
    transform: translateY(-25px) scale(0.75);
    color: #00ce64 !important;
    padding-right: 8px;
}

/* Required field styling */
input:required:placeholder-shown {
    border: 1px solid #fb5654;
}

.asterisk,
.strong {
    font-weight: 700;
}

/* Textarea styles */
.utm-multiline,
.utm-grey-border {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg resize-none;
    @apply focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent;
    @apply hover:border-gray-900 transition-all duration-300;
    padding: 18.5px 14px;
    min-height: 80px;
    padding-right: 70px;
}

.utm-multiline:hover,
.utm-grey-border:hover {
    border: 1px solid #000 !important;
}

.utm-multiline:focus,
.utm-grey-border:focus {
    border: 1px solid #00ce64 !important;
}

/* Helper text */
.utm-helper-text {
    @apply text-gray-600 text-xs mt-1 leading-relaxed;
    color: rgba(0, 0, 0, 0.54);
    font-size: 0.75rem;
    line-height: 1.66;
}

/* Fields missing content */
.utm-fields-missing-content {
    @apply text-sm leading-tight mt-8 ml-8;
    font-size: 14px;
    line-height: 14px;
}

/* Copy button */
.utm-result-copy-button {
    @apply absolute right-4 top-1/2 w-12 h-12 rounded-full border-0 text-gray-600;
    @apply hover:bg-gray-100 transition-colors duration-200;
    @apply flex items-center justify-center text-xl;
    margin-top: -25px;
    padding: 12px;
    overflow: visible;
    background-color: transparent;
}

.utm-result-label-icon {
    @apply w-full flex items-center justify-center;
}

.utm-result-label-svg-icon {
    @apply fill-current w-6 h-6 flex-shrink-0 transition-colors duration-200;
    font-size: 1.5rem;
    user-select: none;
}

/* States */
.utm-hidden {
    @apply hidden;
}

.utm-generated-results {
    @apply relative mt-4;
}

.utm-generated {
    @apply flex items-center;
}

/* Checkbox styling */
.utm-checkbox {
    @apply absolute opacity-100;
    -webkit-appearance: checkbox;
    display: inline-flex;
}

/* Clear button */
.utm-clear-fields-button {
    @apply bg-white rounded border border-ug-navy text-ug-navy px-10 py-2.5;
    @apply hover:bg-ug-navy hover:text-white transition-colors;
    @apply text-sm font-medium tracking-wider uppercase;
    font-size: 14px;
    letter-spacing: 1.4px;
}

/* Table styles */
.utm-table {
    @apply border-collapse border-spacing-0;
}

.utm-table td,
.utm-table th {
    @apply border-b border-gray-300 p-2.5 overflow-hidden;
    word-break: normal;
}

.utm-table-header,
.utm-table-content {
    @apply text-left align-top text-sm;
}

.utm-table-content p {
    margin-bottom: inherit !important;
}

.utm-code {
    @apply bg-gray-200 text-gray-900 px-1 py-0.5 rounded text-xs font-mono;
    font-family: "Source Code Pro", monospace;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .utm-clear-fields-button {
        @apply w-full mb-8;
    }
    
    .utm-notched-outline span {
        font-size: 12px;
    }
}

/* ==========================================================================
   Redirect Generator Tool Styles
   ========================================================================== */

.redirect-generator-tool .customer_service_text ol,
.redirect-generator-tool .customer_service_text ul {
    font-weight: 300;
}

/* Container styles */
.redirect-container {
    @apply w-4/5 mx-auto bg-white p-5 shadow-md;
}

.redirect-bulk-input-container,
.redirect-output-container,
.redirect-input-container {
    @apply flex justify-between w-full flex-wrap;
}

.redirect-options {
    @apply mt-2.5 flex;
}

/* Button styles */
.redirect-button {
    @apply inline-block mx-auto my-5 px-5 py-2.5 text-white border-none cursor-pointer;
    @apply rounded text-sm w-full font-light tracking-wider;
    background: linear-gradient(133.81deg, #fb5654 -1.97%, #ff8452 119.98%);
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1.4px;
    padding: 15px 20px;
    border: 1px solid #fb5654;
}

.redirect-button:hover {
    @apply bg-white text-red-500 border border-red-500;
}

/* Input styles */
.redirect-grey-border {
    @apply relative border border-gray-300 rounded font-inherit text-current w-full;
    @apply block min-w-0 bg-transparent box-border min-h-20 resize-none outline-none;
    @apply transition-all duration-300;
    padding: 18.5px 14px;
    padding: 15px 20px 15px;
    padding-right: 70px;
    height: 1.1876em;
    animation-name: mui-auto-fill-cancel;
    animation-duration: 10ms;
    -webkit-tap-highlight-color: transparent;
}

.redirect-grey-border:hover {
    border: 1px solid #000 !important;
}

.redirect-grey-border:focus {
    border: 1px solid #00ce64 !important;
}

#generated-redirects-output {
    @apply w-full resize-none;
}

/* Copy button for redirect generator */
.redirect-result-copy-button {
    @apply absolute right-8 top-20 w-12 h-12 rounded-full border-0 bg-gray-100;
    @apply hover:bg-gray-300 transition-colors duration-200;
    @apply flex items-center justify-center text-xl;
    color: rgba(0, 0, 0, 0.54);
    padding: 12px;
    overflow: visible;
    font-size: 1.5rem;
    margin-top: -25px;
}

.redirect-result-copy-button:hover {
    background-color: #ddd;
}

.redirect-result-label-icon {
    @apply w-full flex items-center justify-center;
}

.redirect-result-label-svg-icon {
    @apply fill-current w-6 h-6 inline-block flex-shrink-0 transition-colors duration-200;
    font-size: 1.5rem;
    user-select: none;
}

/* Fields missing */
.redirect-fields-missing {
    @apply mt-4;
}

.redirect-fields-missing-content {
    @apply text-sm leading-tight mt-8 ml-8 inline;
}

.redirect-field-missing-icon {
    @apply fill-current w-6 h-6 inline-block flex-shrink-0 transition-colors duration-200;
    font-size: 1.5rem;
    user-select: none;
}

/* Notifications */
.redirect-notification.show,
.redirect-error-notification.show {
    top: 20px;
}

.redirect-notification {
    @apply fixed -top-10 left-1/2 transform -translate-x-1/2 bg-green-500 text-white;
    @apply px-5 py-2.5 rounded text-base z-50 transition-all duration-300;
}

.redirect-error-notification {
    @apply fixed -top-10 left-1/2 transform -translate-x-1/2 bg-red-500 text-white;
    @apply px-5 py-2.5 rounded text-base z-50 transition-all duration-300;
}

/* Input sections */
.redirect-input-section {
    @apply relative;
}

.redirect-input-section textarea {
    @apply relative w-full border border-gray-300 rounded px-2 py-4;
    @apply outline-none transition-all duration-300;
    font-size: 0.88889rem;
    line-height: 1;
    color: #1b3a51;
    padding-top: 19px;
    padding-left: 19px;
}

.redirect-input-section textarea:hover {
    border: 1px solid #000 !important;
}

.redirect-input-section textarea:focus {
    border: 1px solid #00ce64 !important;
    -webkit-box-shadow: inherit !important;
    box-shadow: inherit !important;
}

/* Placeholder labels */
.redirect-placeholder-label,
.redirect-placeholder-protocol-label,
.redirect-placeholder-text-label {
    @apply absolute top-1 left-0.5 px-2.5 py-1 pointer-events-none;
    @apply transition-all duration-300 bg-white z-10 text-sm;
    transform: translateY(0);
    padding: 5px 0 0 10px;
    font-size: 15px;
}

.redirect-placeholder-protocol-label {
    left: 180px;
}

.redirect-placeholder-text-label {
    left: 20px;
}

.redirect-input-section.is-focused .redirect-placeholder-label {
    transform: translateY(-25px) scale(0.75);
    color: #00ce64 !important;
    padding-right: 8px;
}

.redirect-info {
    @apply text-green-500 text-sm;
}

.redirect-info i {
    margin-top: inherit;
}

/* Generated redirections */
.redirect-generated-redirections {
    @apply relative mt-8;
}

.redirect-generated-redirections textarea {
    @apply relative w-full border border-gray-300 rounded px-2 py-4;
    @apply outline-none transition-all duration-300;
    font-size: 0.88889rem;
    line-height: 1;
    color: #1b3a51;
    padding-top: 19px;
    padding-left: 19px;
}

.redirect-generated-redirections textarea:hover {
    border: 1px solid #000 !important;
}

.redirect-generated-redirections textarea:focus {
    border: 1px solid #00ce64 !important;
    -webkit-box-shadow: inherit !important;
    box-shadow: inherit !important;
}

.redirect-generated-redirections label {
    @apply absolute top-1 left-0.5 px-2.5 py-1 pointer-events-none;
    @apply transition-all duration-300 bg-white z-10 text-sm;
    transform: translateY(0);
    padding: 5px 0 0 10px;
    font-size: 15px;
}

.redirect-generated-redirections.is-focused label {
    transform: translateY(-25px) scale(0.75);
    color: #00ce64 !important;
    padding-right: 8px;
}

/* Generate button section */
.redirect-generate-btn {
    @apply flex flex-wrap justify-center gap-5;
    row-gap: 20px;
    column-gap: 20px;
}

#generate-redirects,
#export-btn {
    @apply inline-block w-auto text-sm font-bold uppercase px-10 py-5;
    @apply text-white border border-red-500 rounded tracking-wider;
    background: linear-gradient(133.81deg, #fb5654 -1.97%, #ff8452 119.98%);
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1.4px;
}

#generate-redirects:hover,
#export-btn:hover {
    @apply bg-white text-red-500;
}

.redirect-clear-fields-button {
    @apply bg-white rounded border border-ug-navy text-ug-navy px-10 py-5;
    @apply text-sm font-medium tracking-wider uppercase;
    letter-spacing: 1.4px;
}

/* Protocol selector */
.redirect-protocol {
    @apply inline-flex h-14 px-2 py-4 w-1/8 border border-gray-300 bg-white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.redirect-inputs input[type=text] {
    @apply w-full inline-flex h-14;
}

.redirect-inputs input[type=text].withprotocol {
    @apply w-5/6 ml-4;
}

/* Checkbox styles */
.redirect-checkbox-label {
    @apply text-xs flex ml-8 -mt-1.5;
}

/* Checkbox and radio inputs */
input#include-source-domain,
input#include-destination-domain,
input#filehtml,
input#filehtm,
input#filephp {
    @apply absolute opacity-100;
    -webkit-appearance: checkbox;
    display: inline-flex;
}

input#httptohttps,
input#httpstohttp,
input#nonslash,
input#slash {
    @apply absolute opacity-100;
    -webkit-appearance: radio;
    display: inline-flex;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .redirect-protocol,
    .redirect-inputs input[type=text].withprotocol {
        @apply w-full;
    }
    
    .redirect-inputs input[type=text].withprotocol {
        @apply my-4;
    }
}

/* ==========================================================================
   FAQ Accordion Styles
   ========================================================================== */

.faq-section .faq-item {
    @apply bg-white rounded-lg shadow-lg overflow-hidden;
}

.faq-section .faq-question {
    @apply w-full text-left p-6 font-semibold text-ug-navy hover:bg-gray-50;
    @apply transition-colors duration-200 flex justify-between items-center;
}

.faq-section .faq-question.active {
    @apply bg-gray-50;
}

.faq-section .faq-question svg {
    @apply w-5 h-5 transform transition-transform duration-200;
}

.faq-section .faq-question.active svg {
    @apply rotate-180;
}

.faq-section .faq-answer {
    @apply p-6 pt-0 text-gray-700;
}

.faq-section .faq-answer.hidden {
    @apply hidden;
}

/* ==========================================================================
   Status Checker Specific Styles
   ========================================================================== */

.status-checker-tool .loading-state {
    @apply text-center py-8;
}

.status-checker-tool .loading-state .spinner {
    @apply animate-spin -ml-1 mr-3 h-5 w-5 text-white;
}

.status-checker-tool .results-container {
    @apply mt-8;
}

.status-checker-tool .status-reference {
    @apply bg-white rounded-lg shadow-lg p-8;
}

/* Status badges */
.status-badge-success {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800;
}

.status-badge-redirect {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800;
}

.status-badge-warning {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800;
}

.status-badge-error {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800;
}

/* Modal styles */
.status-modal {
    @apply fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-50;
}

.status-modal.hidden {
    @apply hidden;
}

.status-modal-content {
    @apply relative top-20 mx-auto p-5 border shadow-lg rounded-md bg-white;
    width: 91.666667%; /* w-11/12 */
}

@media (min-width: 768px) {
    .status-modal-content {
        width: 75%; /* md:w-3/4 */
    }
}

@media (min-width: 1024px) {
    .status-modal-content {
        width: 50%; /* lg:w-1/2 */
    }
}

.status-modal-header {
    @apply flex justify-between items-center mb-4;
}

.status-modal-title {
    @apply text-lg font-bold text-gray-900;
}

.status-modal-close {
    @apply text-gray-400 hover:text-gray-600;
}

.status-modal-body {
    @apply text-sm bg-gray-100 p-4 rounded max-h-96 overflow-y-auto;
}

.status-modal-footer {
    @apply flex justify-end mt-4;
}

.status-modal-close-btn {
    @apply px-4 py-2 bg-gray-500 text-white rounded hover:bg-gray-600 transition-colors;
}

/* ==========================================================================
   Browser Logo Classes
   ========================================================================== */

.chrome-logo,
.firefox-logo,
.edge-logo {
    background-size: 32px 32px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 10px; /* Padding to the right of the logo */
}

.chrome-logo {
    background-image: url('../img/browsers/chrome-logo.svg');
}

.firefox-logo {
    background-image: url('../img/browsers/firefox-logo.svg');
}

.edge-logo {
    background-image: url('../img/browsers/edge-logo.svg');
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.resources-hidden {
    @apply hidden;
}

.resources-active {
    @apply block;
}

.resources-loading {
    @apply opacity-50 pointer-events-none;
}

.resources-error {
    @apply border-red-500 bg-red-50;
}

.resources-success {
    @apply border-green-500 bg-green-50;
}

/* Focus states for accessibility */
.resources-focus-visible:focus-visible {
    @apply outline-none ring-2 ring-ug-orange ring-offset-2;
}

/* Print styles */
@media print {
    .utm-builder-tool,
    .redirect-generator-tool,
    .status-checker-tool {
        @apply shadow-none;
    }
    
    .utm-result-copy-button,
    .redirect-result-copy-button {
        @apply hidden;
    }
}