#datepicker_custom {
    display: inline;
}

#datepicker_custom input {
    padding: 8px 15px;
}

.sar-icon {
    width: 13px !important;
}

.total_sub .sar-icon {
    width: 15px !important;
}

.amount bdi {
    font-size: 15px;
}

#sales-detail-table tbody tr td {
    padding: 14px 0px 14px 10px;
}

#sales-detail-table thead {
    background: #4a559d;
}

#sales-detail-table thead tr th {
    color: #fff;
    padding: 11px;
}

.total_sub bdi {
    font-size: 18px !important;
}

.formseacrh-tbps {
    display: flex;
    gap: 10px;
}

#autocomplete-results {

    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    z-index: 1000;
    width: 240px;
    margin-top: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#product-search {
    padding: 7px 40px;
    margin: 0;
}

#autocomplete-results div {
    padding: 14px 10px;
    cursor: pointer;
}

#autocomplete-results div:nth-child(even) {
    background: #e7eaff;
}

#autocomplete-results div:hover {
    background: #f0f0f0;
}

.salesafw-popup {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(45deg, #000000, #262f50);
    color: #fff;
    padding: 25px 31px 10px;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    position: fixed;
    right: 20px;
    bottom: 20px;


}

#salesafw-popup {
    display: none;
}

.salesafw-button {
    width: auto;
    height: auto;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}

.salesafw-button img {
    width: 75px;
    height: auto;
    border-radius: 50%;
}

.salesafw-popup h2 {
    margin: 0 0 25px;
    font-size: 17px;
    color: #fff;
}

.salesafw-popup h3 {
    color: #fff;
    margin: 0;
    font-size: 15px;
}

.salesafw-popup p {
    font-size: 14px;
    margin: 0 0 20px;
    color: #ccc;
    max-height: 250px;
    overflow: auto;
}

.salesafw-close-icon {
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: 29px;
    cursor: pointer;
    color: #ff7676;
    padding: 0px 4px;
    font-weight: 700;
}

.salesafw-close-icon:hover {
    color: #fff;
}

#salesafw-popup-message::-webkit-scrollbar {
    width: 5px;

}

#salesafw-popup-message::-webkit-scrollbar-track {
    background: #9e9e9e24;
    border-radius: 30px;
}

#salesafw-popup-message::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 30px;
}

#salesafw-popup-message::-webkit-scrollbar-thumb:hover {
    background: #d3d3d3;
}

@keyframes salesafwPopBounceWithPause {
    0% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.05) translateY(-4px);
    }

    20% {
        transform: scale(0.98) translateY(2px);
    }

    30% {
        transform: scale(1.05) translateY(-2px);
    }

    40% {
        transform: scale(1) translateY(0);
    }

    100% {
        transform: scale(1) translateY(0);
    }

    /* Pause/static state */
}

.salesafw-animation {
    animation: salesafwPopBounceWithPause 3s ease-in-out infinite;
}

.salesafw-walk-message::before {
    content: "";
    box-sizing: initial;
    border-color: rgb(255 255 255);
    border-radius: 50%;
    border-style: solid;
    border-width: 0 25px;
    position: absolute;
    height: 43px;
    width: 53px;
    z-index: -153;
}

.salesafw-message-left::before {
    top: -5px;
    left: -77px;
    box-shadow: rgb(0 0 0 / 33%) -11px -1px 10px;
    clip: rect(20px, 111px, 48px, 48px);
}

.salesafw-message-right::before {
    top: -5px;
    right: -77px;
    box-shadow: rgb(0 0 0 / 33%) 12px 0px 10px;
    clip: rect(16px, 50px, 73px, -28px);
}

.salesafw-message-bottom::before {
    bottom: -16px;
    left: 28px;
    clip: rect(16px, 50px, 73px, -28px);
    box-shadow: rgb(0 0 0 / 33%) 5px 1px 10px;
}

.salesafw-message-top::before {
    top: -5px;
    left: -77px;
    box-shadow: rgb(0 0 0 / 33%) 6px 0px 10px;
    clip: rect(20px, 111px, 48px, 48px);

}

.salesafw-walk-message {
    position: absolute;
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: rgb(0 0 0 / 37%) 0px 0px 10px;
    z-index: 9999;
    max-width: 300px;
    font-size: 16px;
    line-height: 1.4;
    transform: translateX(calc(-50% + 80px))
}

.salesafw-walk-message.last-step {
    max-width: 400px;
}

.salesafw-walk-message>button {
    margin-right: 10px;
    padding: 3px 10px;
    cursor: pointer;
    background-color: #000000;
    border: 2px solid #1A1A1A;
    border-radius: 5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: inline-block;
    transition: all 0.3s ease-in-out;

}

.salesafw-walk-message>button:hover {
    background-color: #1A1A1A;
    color: #FFFFFF;
  
}

#salesafw-close-icon{
    position: absolute;
    right: 9px;
    top: -4px;
    font-size: 30px;
    cursor: pointer;
    transform: scale(1);
    transition: all 0.3s ease-in-out;
}
#salesafw-close-icon:hover {
    color: #eb3535;
    transform: scale(1.1);
    
}   
#salesafw-content-msg{
    margin-top: 10px;
}

/* Main Container Styles */
.salesafw-ab-about-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #3c434a;
    line-height: 1.6;
    background-color: #f0f0f1;
    padding: 20px 0;
    min-height: 100vh;
}

.salesafw-ab-about-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

/* Hero Section */
.salesafw-ab-hero {
    background: linear-gradient(135deg, #404c9f, #6175f7 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.salesafw-ab-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.salesafw-ab-plugin-icon {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}

.salesafw-ab-hero h1 {
    font-size: 2.5em;
    margin: 0 0 15px;
    font-weight: 600;
    color: white;
}

.salesafw-ab-hero-subtitle {
    font-size: 16px;
    margin: 0 auto 15px;
    max-width: 700px;
    opacity: 0.9;
}

.salesafw-ab-version {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

/* Section Headers */
.salesafw-ab-plugins-section h2,
.salesafw-ab-support-section h3 {
    color: #1d2327;
}

.salesafw-ab-plugins-section h2 {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2em;
    position: relative;
}

.salesafw-ab-plugins-section h2 span {
    display: inline-block;
    padding: 0 20px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.salesafw-ab-plugins-section h2:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #646970;
}

/* Plugin Cards Grid */
.salesafw-ab-plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 30px 40px;
}

.salesafw-ab-plugin-card {
    border: 1px solid #dcdcde;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.salesafw-ab-plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.salesafw-ab-card-header {
    background: #f6f7f7;
    padding: 20px;
    border-bottom: 1px solid #dcdcde;
}

.salesafw-ab-card-header h3 {
    margin: 0;
    color: #1d2327;
    text-align: center;
    font-size: 1.3em;
}

.salesafw-ab-card-body {
    padding: 20px;
    flex-grow: 1;
}

.salesafw-ab-card-body p {
    margin: 0;
    color: #646970;
}

.salesafw-ab-card-footer {
    padding: 0 20px 20px;
}

/* Support Section */
.salesafw-ab-support-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
    background: #f6f7f7;
    border-top: 1px solid #dcdcde;
}

.salesafw-ab-support-column {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.salesafw-ab-support-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f6fc;
    border-radius: 50%;
}

.salesafw-ab-support-icon svg {
    width: 24px;
    height: 24px;
}

.salesafw-ab-support-column h3 {
    margin: 0 0 15px;
    font-size: 1.4em;
}

.salesafw-ab-support-column p {
    margin: 0 0 20px;
    color: #646970;
}

/* Buttons */
.salesafw-ab-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.salesafw-ab-button-primary {
    background: #4b6ea8;
    color: white;
}

.salesafw-ab-button-primary:hover {
    background: #3a5a8a;
    color: white;
}

.salesafw-ab-button-secondary {
    background: #5262ce;
    color: #ffffff;
}

.salesafw-ab-button-secondary:hover {
    background: #3446beff;
    color: #ffffff;
}

/* Footer */
.salesafw-ab-about-footer {
    text-align: center;
    padding: 5px;
    color: #9e9e9e;
    font-size: 0.9em;
    border-top: 1px solid #dcdcde;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .salesafw-ab-plugins-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 30px;
    }

    .salesafw-ab-support-section {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .salesafw-ab-hero {
        padding: 30px 20px;
    }

    .salesafw-ab-hero h1 {
        font-size: 2em;
    }
}