.hcsmartalt-wrap .card {
    max-width: 100% !important;
    border-radius: 12px !important; 
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
    margin-top:0; 
    padding: 15px; 
    max-width: 100%;
}
.hcsmartalt-wrap .tablenav {
        margin: 6px 0 20px !important;
}
.hcsmartalt-table-responsive {
    overflow-x: auto !important;
    display: block;
    width: 100%;
    border: 1px solid #e2e8f0 !important; 
    background: #fff;
    -webkit-overflow-scrolling: touch; 
    margin-top: 10px;
    border-radius: 12px !important; 
}

.hcsmartalt-wrap table.wp-list-table {
    min-width: 1000px !important; 
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: separate !important; 
    border-spacing: 0;
}

.hcsmartalt-wrap .wp-list-table td, 
.hcsmartalt-wrap .wp-list-table th {
    white-space: nowrap !important; 
    overflow: hidden;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.hcsmartalt-input {
    min-width: 300px !important;
    border: 1px solid #cbd5e1 !important; 
    padding: 8px 12px !important;
    border-radius: 8px !important; 
    transition: all 0.2s ease;
}

.hcsmartalt-input:focus {
    border-color: #4fb3b3 !important; 
    box-shadow: 0 0 0 3px rgba(79, 179, 179, 0.15) !important;
    outline: none !important;
}

.hcsmartalt-wrap .hcsmartalt-save {
    background-color: #4fb3b3 !important; 
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important; 
    padding: 6px 18px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-shadow: none !important;
}
.hcsmartalt-wrap .bulk-generate-btn, .hcsmartalt-wrap .button-primary{
    background-color: #0d8686 !important; 
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important; 
    padding: 0px 18px !important;
    height:40px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-shadow: none !important;
}
.hcsmartalt-wrap .button-secondary{
    background: #e0f2f2 !important;
    border: 1px solid #b6d3d3 !important;
    color: #4b6b6b !important;
    border-radius: 6px !important; 
    padding: 6px 18px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-shadow: none !important;
}

.hcsmartalt-wrap .bulk-generate-btn:focus, .hcsmartalt-wrap .button-primary:focus{
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #0d8686;
}

.hcsmartalt-save:hover {
    background-color: #3d8e8e !important;
}

@media screen and (max-width: 782px) {
    .hcsmartalt-wrap .wp-list-table tr {
        display: table-row !important;
    }
    .hcsmartalt-wrap .wp-list-table td, 
    .hcsmartalt-wrap .wp-list-table th {
        display: table-cell !important;
        padding: 10px !important;
    }
    .hcsmartalt-wrap .column-primary .toggle-row {
        display: none !important; 
    }
}

.hcsmartalt-banner {
    background: linear-gradient(135deg, #e0f2f2 0%, #d1e8e8 100%);
    padding: 30px 45px; 
    border-radius: 16px; 
    display: flex;
    justify-content: flex-start; 
    gap: 25px;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
}

.hcsmartalt-banner-text h1 {
    margin: 0;
    font-size: 28px; 
    color: #1a3a3a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hcsmartalt-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; 
}

.hcsmartalt-banner:hover .hcsmartalt-logo-wrapper {
    transform: scale(1.05) rotate(5deg);
}

.hcsmartalt-hexagon {
    position: relative;
    width: 80px; 
    height: 90px;
    background: linear-gradient(180deg, #4fb3b3 0%, #3a8c8c 100%); 
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 5px 15px rgba(79, 179, 179, 0.4));
}

.hcsmartalt-hexagon span {
    color: white;
    font-family: "Inter", system-ui, sans-serif; 
    font-size: 30px; 
    font-weight: 900;
    letter-spacing: -1.5px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hcsmartalt-hexagon::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

@media (max-width: 782px) {
    .hcsmartalt-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 15px;
    }
    .hcsmartalt-banner-text h1 {
        font-size: 24px;
    }
}
#hcsmartalt-image-list img {
    border-radius: 8px !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

#hcsmartalt-image-list img:hover {
    transform: scale(1.05);
}

.hcsmartalt-wrap .pagination-links {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.hcsmartalt-page-nav {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important; 
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

.hcsmartalt-page-nav:hover {
    border-color: #4fb3b3 !important;
    color: #4fb3b3 !important;
    background: #f0fdfa !important;
    transform: translateY(-1px);
}

.hcsmartalt-wrap .paging-input {
    margin: 0 10px;
    font-weight: 600;
    color: #64748b;
}

.hcsmartalt-wrap .nav-tab-wrapper {
    border-bottom: none; 
    display: flex;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
}

.hcsmartalt-wrap .nav-tab-wrapper .nav-tab {
    background: #e0f2f2; 
    border: 1px solid #b6d3d3;
    border-radius: 30px; 
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #4b6b6b;
    transition: all 0.3s ease;
    margin: 0; 
}

.hcsmartalt-wrap .nav-tab-wrapper .nav-tab:hover {
    background: #d1e8e8;
    color: #244848;
    border-color: #4fb3b3;
}

.hcsmartalt-wrap .nav-tab-wrapper .nav-tab.nav-tab-active {
    background: #4fb3b3; 
    color: #ffffff;
    border-color: #3a8c8c;
    box-shadow: 0 4px 12px rgba(79, 179, 179, 0.3);
}

.hcsmartalt-wrap .nav-tab-wrapper .nav-tab:focus {
    box-shadow: 0 0 0 2px rgba(79, 179, 179, 0.5);
    outline: none;
}

#hcsmartalt-filter-type {
    height: 40px;
    border-radius: 8px;
    border: 2px solid #d1e8e8;
    background-color: #fff;
    padding: 0 15px;
    color: #244848;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

#hcsmartalt-filter-type:focus {
    border-color: #4fb3b3;
    box-shadow: 0 0 0 3px rgba(79, 179, 179, 0.1);
}

#hcsmartalt-apply-filter {
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #4fb3b3;
    color: #4fb3b3;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-left: 8px;
}

#hcsmartalt-apply-filter:hover {
    background: #4fb3b3;
    color: #fff;
}

@media screen and (max-width: 443px) {
    .hcsmartalt-wrap .tablenav {
        text-align: center;
    }

    .hcsmartalt-wrap .tablenav .alignleft,
    .hcsmartalt-wrap .tablenav .alignright {
        float: none;
    }

    .hcsmartalt-wrap .tablenav .alignright {
        margin-top: 10px;
    }
    
    .hcsmartalt-wrap .nav-tab-wrapper{
        justify-content: center;
    }
}

.hcsmartalt-wrap  .nav-tab-wrapper:not(.wp-clearfix):after{
    display: none !important;
}

.hcsmartalt-version-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(79, 179, 179, 0.1); 
    color: #4fb3b3; 
    padding: 4px 12px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid rgba(79, 179, 179, 0.2);
}

.hcsmartalt-admin-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hcsmartalt-admin-link:hover {
    color: #4fb3b3;
}

#hcsmartalt-toast-container {
    position: fixed;
    top: 50px; 
    right: 20px;
    z-index: 999999; 
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hcsmartalt-toast {
    background: #ffffff;
    color: #1e293b;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-left: 5px solid #4fb3b3;
    animation: hcSlideIn 0.3s ease-out forwards;
}

.hcsmartalt-toast.error {
    border-left-color: #ff4d4d;
}

@keyframes hcSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hcsmartalt-fade-out {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

#hcsmartalt-progress-wrap{
    margin: 15px 0; 
    background:#f0f0f1; 
    border:1px solid #c3c4c7; 
    height:26px; 
    border-radius:3px; 
    position:relative;
}

#hcsmartalt-progress-bar{
    background:#4fb3b3; 
    width:0%; 
    height:100%; 
    transition: width 0.2s;
}

#hcsmartalt-progress-text{
    position:absolute; 
    width:100%; 
    text-align:center; 
    line-height:26px; 
    font-weight:600; 
    color:#000; 
    top:0;
}