@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');


* {
   font-family: 'Plus Jakarta Sans', sans-serif;
}

.am-form form {
    padding: 3em;
}
.navbar-expand-md .navbar-collapse.show {
    flex-direction: column;
    z-index: 10;
    background: #fff;
    box-shadow: 0px 8px 8px #969696;
}
.nav-link-icon {
    margin-right: 0.2em;
}
.am-footer-links ul li {
    display: inline-block;
    list-style: none;
    margin-right: 15px;
}
#widget-member-main-links{
    display: none;
}
#widget-member-main-subscriptions #member-main-subscriptions-head{
    display: none;
}
#member-main-subscriptions{
    margin-bottom: 2em;
}
.page-body {
    margin-top: 0.5em;
}
.am-form div.am-element-title .comment {
    font-size: 0.7rem;
}
.am-layout-two-coll, .am-layout-two-coll .am-layout-two-coll-top, .am-layout-two-coll .am-layout-two-coll-bottom {
    background: transparent!important;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}
.am-layout-two-coll .am-coll-left .am-coll-content {
    margin: 0;
}
.am-footer-links ul li a{
    text-decoration: none;
    color: #4f6df5;
    font-weight: 600;
}

.sb-theme-auth .auth-logo{
    text-align: center;
    margin: 4em 0 0 0;
}

.sb-theme-auth .auth-logo img{
    max-width: 200px;
}
.sb-theme-auth .am-auth-form form legend{
    background: #ffffff;
    padding: 1.5em 1em 1.5em;
    color: #303030;
}

.sb-theme-auth .am-form div.am-element {
    margin-left: 0;
    padding: 0;
    display: block;
}
.sb-theme-auth .am-form div.am-element-title {
    width: 100%;
    float: none;
    text-align: left;
    padding: 0;
}
.sb-theme-auth .am-auth-form div.am-row div.am-element-title {
    padding-right: 0;
    padding-left: 0;
}
.sb-theme-auth .am-auth-form div.am-row div.am-element {
    padding-left: 0;
}

.sb-theme-auth .am-form fieldset {
    padding: 30px;
}
.sb-theme-auth .am-row.am-row-login-pass{
    display: block;
    margin: 30px 0px 40px;
    
}
.sb-theme-auth .am-row.am-row-buttons{
    display: block;
    margin: 30px 0px;
   
}
.sb-theme-auth .am-row.am-row-buttons input{
    display: block;
    margin: 20px 0px;
    width: 100%;
}
.sb-theme-auth .am-row.am-row-buttons .am-form-login-switch-wrapper{
    display: block;
    margin: 20px 0px;
 
}
.am-credits {
    margin-top: 1em;
    color: #4f6df5;
    /* height: 2em; */
    text-align: center;
    font-size: 0.8rem;
    opacity: 1;
    height: auto;
    margin-bottom: 1em;
}
.navbar-brand-image {
    height: 3rem;
    width: auto;
}

.am-footer-links{
    flex-grow: 1;
}
.am-footer-links ul{
 margin: 0px;
}
.am-footer-sm a{
 font-size: 1rem;
 padding: 0 5px;
}

/* Auth Form Styles */

.am-auth-form {
    width: 100%;
}

.am-auth-form div.am-row {
    background: #ffffff;
    border-bottom: none;
}

.am-auth-form.am-form fieldset legend {
    padding: 2em 1rem;
    font-size: 30px;
    background: #ffffff;
    border-bottom: none;
    float: none;
    font-weight: 700;
    color: #4f6df5;
    font-family: 'Plus Jakarta Sans';
}

.am-auth-form .am-row{
    display: block;
}

.am-auth-form .am-row .am-element-title{
    padding:0px;
    width: 100%;
    text-align: left;
    float: none;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans';
}

.am-auth-form .am-row .am-element{
    padding: 0px;
    float: none;
    width: 100%;
    margin: 0px;
}


.am-auth-form .am-row.am-row-buttons .am-element input{
    display: block;
    width: 100%;
    border-radius: 5px;
}

.am-auth-form .am-row.am-row-buttons .am-element span{
    display: block;
    margin-top: 20px;
    font-size: 16px;
}

.am-signup-link{
    font-size: 18px;
}

/* Other Styles */

.login-logo {
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

.login-logo img{
    height: 150px;
    width: auto;
}

.am-block-nodata {
    text-align: center;
    padding: 2em;
    background: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0;
}
img.img-non-data{
    max-width: 300px;
    display: block;
    margin: 20px auto;
}
#widget-member-main-resources .am-block ul {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media all and (min-width: 800px) {
    #signup-page #row-product_id_page-0-0 .am-element-title{
        width: 100%;
        text-align: center;
        padding: 5px;
        background-color: #efefef;
        margin-bottom: 5px;
    }
    #signup-page #row-product_id_page-0-0 .am-element{
        margin: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 0;
    }
    #signup-page #row-product_id_page-0-0 .am-element > *{
        flex: 1;
    }
    #signup-page #row-product_id_page-0-0 .am-element br{
        display: none;
    }
    #signup-page #row-product_id_page-0-0 .am-element label{
        padding: 15px;
        box-shadow: 0px 5px 5px #efefef;
        border: 1px solid #efefef;
        margin: 0px 5px;
        cursor: pointer;
    }
    #signup-page #row-product_id_page-0-0 .am-element label span{
        display: block;
        margin: 5px 0px;
    }

    #signup-page #row-paysys_id .am-element-title{
        width: 100%;
        text-align: center;
        padding: 5px;
        background-color: #efefef;
        margin-bottom: 5px;
    }
    #signup-page #row-paysys_id .am-element{
        margin: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 0;
    }
    #signup-page #row-paysys_id .am-element > *{
        flex: 1;
    }
    #signup-page #row-paysys_id .am-element br{
        display: none;
    }
    #signup-page #row-paysys_id .am-element label{
        padding: 15px;
        box-shadow: 0px 5px 5px #efefef;
        border: 1px solid #efefef;
        margin: 0px 5px;
        cursor: pointer;
    }
    #signup-page #row-paysys_id .am-element label span{
        display: block;
        margin: 5px 0px;
    }

    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media all and (max-width: 800px) {
    #signup-page #row-paysys_id .am-element-title{
        margin-top: 20px;
        border-top: 1px solid #efefef;
        padding-top: 20px;
    }
    #signup-page #row-paysys_id .am-element{
        padding-left: 25px;
    }
    #signup-page #row-product_id_page-0-0 .am-element{
        padding-left: 25px;
    }
}

@media all and (max-width: 900px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media all and (max-width: 700px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr 1fr;
    }
}
@media all and (max-width: 400px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767.98px) {
    .navbar-expand-md .navbar-collapse .navbar-nav .nav-link {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}
.am-form form {
    padding: 1em;
}
.page-wrapper {
    background: #F8F8F6;
}
.am-popup .am-form.am-auth-form div.am-element-title {
    padding: 0.5em 0.5em 0;
    display: block;
}
.am-popup .am-form.am-auth-form .am-row {
    padding: 0;
}
.footer-transparent {
    background-color: #fff;
}
#signup-page #row-name-0{
    margin-top: 20px;
    border-top: 1px solid #efefef;
    padding-top: 20px;
}
.am-cart ul.am-cart-layout-product-list li.am-cart-layout-product-list_item {
    list-style: none;
    margin: 0;
    display: inline;
    float: left;
}
#widget-member-main-resources{
   
    border-bottom: 2px solid #efefef;
    border-radius: 8px;
}

#widget-member-main-resources .am-block {
    background: transparent;
    border: none;
    border-radius: 3px;
    margin-bottom: 1em;
    padding: 0;
    box-shadow: none;
}
#widget-member-main-resources .am-block ul {
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: space-between;
    grid-gap: 1em;
}
.am-input-filter-wrapper {
    background: #fff;
}
/* Member resources styles removed - empty rules */

#widget-member-main-resources .am-block ul.am-widget-list li {
    padding: 0;
    background: transparent;
}
#widget-member-main-resources .product-description{
    min-height: 20px;
}

.am-layout-two-coll .am-coll-left .am-coll-content,
.am-layout-two-coll .am-coll-right .am-coll-content {
    margin: 0!important;
}
#member-main-subscriptions {
    padding: 0!important;
}

/* Main Nav Icons: Use primary color */

/* Responsive mobile nav styles */
@media (max-width: 900px) {
    .main-nav { display: none !important; }
    .mobile-nav-toggle { display: inline-block !important; }
    .mobile-nav-dropdown {
        display: none;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 8px 24px #4f6df525;
        border: 1px solid #eaeaea;
        padding: 8px 0;
        min-width: 180px;
        max-width: 95vw;
        position: absolute;
        top: 58px;
        left: 12px;
        right: 12px;
        z-index: 10000;
        animation: fadeInDown 0.18s;
    }
    .mobile-nav-dropdown .nav-list {
        flex-direction: column !important;
        gap: 0;
    }
    .mobile-nav-dropdown .nav-item {
        width: 100%;
    }
    .mobile-nav-dropdown .nav-link {
        display: flex;
        align-items: center;
        padding: 12px 22px;
        color: #303030;
        text-decoration: none;
        border-bottom: 1px solid #f2f2f2;
        font-weight: 500;
        font-size: 1.07em;
        background: none;
    }
    .mobile-nav-dropdown .nav-link:last-child {
        border-bottom: none;
    }
    .mobile-nav-dropdown .nav-link.active {
        background: #f5f7ff;
        color: #4f6df5;
    }
    .search-input {
        min-width: 60px !important;
        font-size: 0.97em;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ضمان ظهور القائمة الرئيسية في الديسكتوب فقط */
@media (min-width: 901px) {
    .mobile-nav-toggle, .mobile-nav-dropdown { display: none !important; }
    .main-nav { display: block !important; }
}

.main-nav .nav-icon,
.main-nav .nav-link .fa,
.main-nav .nav-link .fas,
.main-nav .nav-link .far,
.main-nav .nav-link .fab {
    color: #4f6df5 !important;
    transition: color 0.2s;
}
.main-nav .nav-link.active .nav-icon,
.main-nav .nav-link.active .fa,
.main-nav .nav-link.active .fas,
.main-nav .nav-link.active .far,
.main-nav .nav-link.active .fab {
    color: #3a56d4 !important;
}

.mobile-nav-dropdown .nav-item.has-children > .sub-menu {
    display: none;
    list-style: none;
    padding: 5px 0 5px 20px;
}

.mobile-nav-dropdown .nav-item.has-children.expanded > .sub-menu {
    display: block;
}

.mobile-nav-dropdown .nav-item.has-children > .sub-menu li {
    margin: 0;
}

.mobile-nav-dropdown .nav-item.has-children > .sub-menu li a {
    display: block;
    padding: 10px 24px;
    color: var(--nav-text);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-dropdown .nav-item.has-children > .sub-menu li a:hover {
    background-color: var(--dropdown-hover);
    color: var(--primary-color);
}

/* ========================================
   Subusers & Grid Styles
   ======================================== */

/* No Records Message */
.am-norecord-actions {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

.am-norecord-actions h3 {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.am-norecord-actions p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Grid Table Styles */
table.grid {
    width: 100%;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 20px 0;
}

table.grid thead {
    background: var(--primary-light);
}

table.grid thead th {
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

table.grid tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

table.grid tbody tr:hover {
    background-color: var(--gray-100);
}

/* Actions Column */
td.actions {
    text-align: center;
    white-space: nowrap;
}

td.actions a {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
    vertical-align: middle;
}

td.actions a:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

/* Sprite Icons - Fixed */
.glyph.sprite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
    vertical-align: middle;
    position: relative;
    font-size: 14px;
    color: #fff;
}

/* Edit Icon */
td.actions a[href*="edit"] .glyph.sprite-icon::before {
    content: "\270E";
}

/* Hover effect */
td.actions a:hover .glyph.sprite-icon {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Action Images */
td.actions img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

td.actions img:hover {
    transform: scale(1.2);
}

/* Edit Button */
td.actions a[href*="edit"] {
    color: var(--primary-color);
}

td.actions a[href*="edit"]:hover {
    background-color: var(--primary-light);
}

/* Delete/Detach Button */
td.actions a[data-confirm],
td.actions a[href*="delete"],
td.actions a[href*="detach"] {
    color: var(--danger-color);
}

td.actions a[data-confirm]:hover,
td.actions a[href*="delete"]:hover,
td.actions a[href*="detach"]:hover {
    background-color: #fee;
}

/* Grid Pagination */
.grid-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: var(--border-radius);
    margin-top: 10px;
}

.grid-pagination a {
    padding: 8px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.grid-pagination a:hover {
    background: var(--primary-dark);
}

/* Grid Filters */
.grid-filters {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.grid-filters input,
.grid-filters select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.grid-filters button {
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.grid-filters button:hover {
    background: var(--primary-dark);
}

/* Responsive Grid */
@media (max-width: 768px) {
    table.grid {
        font-size: 12px;
    }
    
    table.grid thead th,
    table.grid tbody td {
        padding: 8px;
    }
    
    td.actions a {
        padding: 4px 6px;
    }
    
    .glyph.sprite-icon,
    td.actions img {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   Grid Wrapper & Title - Subusers Page Only
   ======================================== */

#grid-subusers.am-grid-wrap {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin: 20px 0;
}

#grid-subusers .am-grid-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

#grid-subusers .am-grid-title-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-600);
    margin-right: 10px;
}

#grid-subusers .am-grid-title-desc__total {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

/* ========================================
   Grid Container & Table
   ======================================== */

#grid-subusers .am-grid-container {
    overflow-x: auto;
    margin: 20px 0;
}

table.am-grid {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.am-grid thead tr {
    background: var(--primary-light);
    border-bottom: 2px solid var(--primary-color);
}

table.am-grid thead th {
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

table.am-grid thead th a.a-sort {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

table.am-grid thead th a.a-sort:hover {
    color: var(--primary-dark);
}

table.am-grid thead th a.sorted-asc::after {
    content: "▲";
    font-size: 10px;
}

table.am-grid thead th a.sorted-desc::after {
    content: "▼";
    font-size: 10px;
}

table.am-grid tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

table.am-grid tbody tr:hover {
    background: var(--gray-100);
}

table.am-grid tbody tr.even {
    background: #fff;
}

table.am-grid tbody tr.even:hover {
    background: var(--gray-100);
}

table.am-grid tbody td {
    padding: 12px 15px;
    color: var(--text-color);
    font-size: 14px;
    vertical-align: middle;
}

/* ========================================
   Buttons & Links
   ======================================== */

.am-norecord-actions a.button,
.am-body-content a.button,
.am-body-content input[type="submit"],
.am-body-content input[type="button"] {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff !important;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 5px;
}

.am-norecord-actions a.button:hover,
.am-body-content a.button:hover,
.am-body-content input[type="submit"]:hover,
.am-body-content input[type="button"]:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 109, 245, 0.3);
}

.am-norecord-actions a.link {
    display: inline-block;
    padding: 10px 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin: 5px;
    transition: all 0.2s ease;
}

.am-norecord-actions a.link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   Forms - Subusers Page Only
   ======================================== */

body:not(.login) .am-form {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin: 20px 0;
}



body:not(.login) .am-form .am-element-title {
    flex: 0 0 200px;
    padding-top: 8px;
}

body:not(.login) .am-form .am-element-title label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

body:not(.login) .am-form .am-element-title .required {
    color: var(--danger-color);
    margin-left: 3px;
}

body:not(.login) .am-form .am-element-title .comment {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 5px;
    font-weight: 400;
}

body:not(.login) .am-form .am-element {
    flex: 1;
}



body:not(.login) .am-form input[type="text"],
body:not(.login) .am-form input[type="password"],
body:not(.login) .am-form input[type="email"],
body:not(.login) .am-form select,
body:not(.login) .am-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

body:not(.login) .am-form input[type="text"]:focus,
body:not(.login) .am-form input[type="password"]:focus,
body:not(.login) .am-form input[type="email"]:focus,
body:not(.login) .am-form select:focus,
body:not(.login) .am-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.1);
}

body:not(.login) .am-form .am-element.group input {
    flex: 1;
}

/* ========================================
   Popup/Modal
   ======================================== */

.info {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
}

.info p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.info .buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.info .buttons form {
    margin: 0;
    display: inline-block;
}

.info .buttons input[type="submit"],
.info .buttons input[type="button"],
.buttons input[type="submit"],
.buttons input[type="button"] {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.info .buttons input[type="submit"],
.buttons input[type="submit"] {
    background: var(--danger-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.info .buttons input[type="submit"]:hover,
.buttons input[type="submit"]:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.info .buttons input[type="submit"]:active,
.buttons input[type="submit"]:active {
    transform: translateY(0);
}

.info .buttons input[type="submit"]:disabled,
.buttons input[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.info .buttons input[type="button"],
.buttons input[type="button"] {
    background: var(--gray-600);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.info .buttons input[type="button"]:hover,
.buttons input[type="button"]:hover {
    background: var(--gray-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.info .buttons input[type="button"]:active,
.buttons input[type="button"]:active {
    transform: translateY(0);
}

/* ========================================
   Local Links
   ======================================== */

.local-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    margin-right: 10px;
    transition: color 0.2s ease;
}

.local-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   Widgets Styling - Specific to Subusers Page
   ======================================== */

/* Widget: Subusers Only */
#widget-subusers {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

#widget-subusers h2 {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

#widget-subusers .am-block {
    padding: 20px;
}

#widget-subusers ul.am-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#widget-subusers ul.am-widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
}

#widget-subusers ul.am-widget-list li:last-child {
    border-bottom: none;
}

#widget-subusers ul.am-widget-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

#widget-subusers .am-block p {
    margin: 15px 0 0 0;
}

#widget-subusers .am-block p a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#widget-subusers .am-block p a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 109, 245, 0.3);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    body:not(.login) .am-form .am-row {
        flex-direction: column;
    }
    
    body:not(.login) .am-form .am-element-title {
        flex: 1;
    }
    
    #grid-subusers .am-grid-title {
        font-size: 20px;
    }
    
    .info {
        padding: 20px;
    }
    
    .info .buttons {
        flex-direction: column;
    }
    
    .info .buttons input {
        width: 100%;
    }
    
    #widget-subusers h2 {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    #widget-subusers .am-block {
        padding: 15px;
    }
}

