@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;
}

/* General styles */
body {
    background-color: #f8fafc;
    color: #333;
    margin: 0;
    padding: 0;
}






.am-google-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.am-auth-separator {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  border-radius: 999px;
}

.am-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.am-google-btn__icon {
  display: inline-flex;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
}

.am-google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}













h2.page-title {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
}

h2#member-main-resources-head {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
}

.am-form form {
    padding: 2em;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Navbar */
.navbar-expand-md .navbar-collapse.show {
    flex-direction: column;
    z-index: 10;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 16px 16px;
}

/* Search Input */
input#resourcesSearchInput {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px 14px 48px;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #f9fafb;
    transition: all 0.3s ease;
}

input#resourcesSearchInput:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Subscriptions Container */
div#member-main-subscriptions {
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 0;
}

.am-layout-two-coll {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-link-icon {
    margin-right: 0.5em;
}

.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: 0;
}

.page-body {
    margin-top: 0;
}

.am-form div.am-element-title .comment {
    font-size: 0.8rem;
    color: #6b7280;
}

.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: #4b5563;
    font-weight: 500;
    transition: color 0.2s ease;
}

.am-footer-links ul li a:hover {
    color: #3b82f6;
}

/* Auth styles - Modern Login Page */
.sb-theme-auth .auth-logo {
    text-align: center;
    margin: 0;
}

.sb-theme-auth .auth-logo img {
    max-width: 200px;
}

.sb-theme-auth .am-auth-form form legend {
    display: none;
}

.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;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

.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: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.sb-theme-auth .am-row.am-row-login-pass {
    display: block;
    margin: 0 0 24px;
}

.sb-theme-auth .am-row.am-row-buttons {
    display: block;
    margin: 0;
}

.sb-theme-auth .am-row.am-row-buttons input {
    display: block;
    margin: 0;
    width: 100%;
    border-radius: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.sb-theme-auth .am-row.am-row-buttons input:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.sb-theme-auth .am-row.am-row-buttons .am-form-login-switch-wrapper {
    display: block;
    margin: 24px 0 0;
    text-align: center;
}

.am-credits {
    margin-top: 1em;
    color: #4b5563;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
    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;
    color: #6b7280;
    transition: color 0.2s ease;
}

.am-footer-sm a:hover {
    color: #3b82f6;
}

.am-login-form-wrapper {
    margin-top: 0px;
}

.am-auth-form {
    width: 100%;
}

.am-auth-form div.am-row {
    background: transparent;
    border-bottom: none;
    padding: 0;
    margin: 0 0 24px;
}

.am-auth-form.am-form fieldset legend {
    display: none;
}

.am-auth-form .am-row {
    display: block;
    padding: 0;
}

.am-auth-form .am-row .am-element-title {
    padding: 0px;
    width: 100%;
    text-align: left;
    float: none;
    margin: 0 0 8px 0;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans';
    color: #374151;
}

.am-auth-form .am-row .am-element {
    padding: 0px;
    float: none;
    width: 100%;
    margin: 0px;
}

.am-auth-form .am-row.am-row-buttons {
    margin-bottom: 0;
}

.am-auth-form .am-row.am-row-buttons .am-element input {
    display: block;
    width: 100%;
    border-radius: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.am-auth-form .am-row.am-row-buttons .am-element input:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.am-auth-form .am-row.am-row-buttons .am-element span {
    display: block;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.am-signup-link {
    font-size: 14px;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.am-signup-link:hover {
    color: #6d28d9;
    text-decoration: underline;
}

.login-logo img {
    max-height: 4rem;
    height: 4rem;
    width: auto;
}

.am-block-nodata {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

img.img-non-data {
    max-width: 300px;
    display: block;
    margin: 20px auto;
    opacity: 0.8;
}

/* Resources styling - Modern Design */
#widget-member-main-resources {
    margin: 0;
    padding: 0;
    border-top: none;
    border-bottom: none;
    background-color: transparent;
}

#widget-member-main-resources .am-block {
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
    box-shadow: none;
}

#widget-member-main-resources .am-block ul {
    margin: 0;
    padding: 0;
    display: grid;
    justify-content: space-between;
    grid-gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

#widget-member-main-resources .am-block ul.am-widget-list li {
    padding: 0;
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#widget-member-main-resources .am-block ul.am-widget-list li:hover {
    transform: translateY(-8px);
}

#widget-member-main-resources .product-description {
    min-height: 20px;
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.5;
}

/* Card styling - Modern Design */
.card {
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #111827;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 8px;
}

.card-img-top {
    height: 180px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #f9fafb;
    padding: 20px;
}

.card-footer {
    padding: 16px 20px;
    background-color: #fff;
    border-top: 1px solid #f3f4f6;
}

.btn-success {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    padding: 10px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Subscription styling - Modern Blue Gradient */
.subscription-welcome {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #2563eb 100%);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    color: white;
}

.welcome-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
    font-style: italic;
}

/* Search input styling - Modern */
.am-input-filter-wrapper {
    background: white;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.am-input-filter-inner-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.am-input-filter {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.am-input-filter:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.am-input-filter-inner-wrapper::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Layout and responsive styles */
.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;
}

/* Signup page styling - Modern */
#signup-page #row-product_id_page-0-0 .am-element-title,
#signup-page #row-paysys_id .am-element-title {
    width: 100%;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    margin-bottom: 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #1e40af;
}

#signup-page #row-product_id_page-0-0 .am-element,
#signup-page #row-paysys_id .am-element {
    margin: 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 0;
    flex-wrap: wrap;
    gap: 16px;
}

#signup-page #row-product_id_page-0-0 .am-element > *,
#signup-page #row-paysys_id .am-element > * {
    flex: 1;
    min-width: 200px;
}

#signup-page #row-product_id_page-0-0 .am-element br,
#signup-page #row-paysys_id .am-element br {
    display: none;
}

#signup-page #row-product_id_page-0-0 .am-element label,
#signup-page #row-paysys_id .am-element label {
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #e5e7eb;
    margin: 0;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
}

#signup-page #row-product_id_page-0-0 .am-element label:hover,
#signup-page #row-paysys_id .am-element label:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
    transform: translateY(-4px);
}

#signup-page #row-product_id_page-0-0 .am-element label span,
#signup-page #row-paysys_id .am-element label span {
    display: block;
    margin: 8px 0px;
}

#signup-page #row-name-0 {
    margin-top: 40px;
    border-top: 2px solid #e5e7eb;
    padding-top: 40px;
}

/* Sidebar - Dark Modern Design */
.dashboard-sidebar {
    background: #0a0e27 !important;
}

.sidebar-menu li a {
    color: #94a3b8;
}

.sidebar-menu li a:hover, 
.sidebar-menu li a.active {
    background: #2d4de8 !important;
    color: #ffffff !important;
}

.sidebar-menu li a.active::before {
    background: #2d4de8;
}

.sidebar-menu-category {
    color: #64748b !important;
}

.page-wrapper {
    background: #f8fafc;
}

/* Input fields - Modern styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    color: #111827;
    background: #f9fafb;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Buttons - Modern styling */
button,
input[type="submit"],
.btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Responsive styles */
@media all and (max-width: 800px) {
    #signup-page #row-paysys_id .am-element-title {
        margin-top: 32px;
        border-top: 2px solid #e5e7eb;
        padding-top: 32px;
    }
    
    #signup-page #row-paysys_id .am-element,
    #signup-page #row-product_id_page-0-0 .am-element {
        padding-left: 0;
        padding-right: 0;
    }
    
    .am-auth-form.am-form fieldset legend {
        font-size: 1.1rem;
        padding: 1.5em 1rem;
    }
    
    .subscription-welcome {
        padding: 32px 24px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-subtitle {
        font-size: 16px;
    }
}

@media all and (max-width: 900px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media all and (max-width: 700px) {
    #widget-member-main-resources .am-block ul {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .am-form form {
        padding: 1.5em;
    }
    
    .card-img-top {
        height: 160px;
    }
}

@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;
    }
    
    .card-img-top {
        height: 140px;
    }
    
    h2.page-title,
    h2#member-main-resources-head {
        font-size: 24px;
    }
}

/* Additional modern touches */
.am-block {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.am-widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.am-block,
.subscription-welcome {
    animation: fadeInUp 0.5s ease forwards;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}