@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;
}
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

:root {
  --spidey-red: #ff0000;
  --spidey-dark-red: #be0c14;
  --spidey-black: #000000;
  --spidey-dark-bg: #151515;
  --spidey-white: #ffffff;
  --card-bg: rgba(15, 15, 15, 0.8);
  --card-border: rgba(255, 0, 0, 0.3);
  --success-color: #00c853;
  --danger-color: #f44336;
  --notice-blue: #3a97ff;
}

body {
  background: #0a0a0a;
  color: var(--spidey-white);
  font-family: 'Plus Jakarta Sans', 'Poppins', Arial, sans-serif;
  min-height: 100vh;
}

.spidey-dashboard {
  padding: 24px;
  min-height: 100vh;
  background: #0a0a0a;
  position: relative;
  z-index: 1;
  border-radius: 12px; /* Rounded corners */
  scrollbar-color: auto;
  scrollbar-width: auto;
}


.spidey-dashboard::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: radial-gradient(circle at 10% 10%, rgba(255,0,0,0.03) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(255,0,0,0.03) 2px, transparent 2px),
    radial-gradient(circle at 30% 30%, rgba(255,0,0,0.03) 1px, transparent 1px),
    radial-gradient(circle at 40% 40%, rgba(255,0,0,0.03) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(255,0,0,0.03) 1px, transparent 1px);
  background-size: 100px 100px, 120px 120px, 90px 90px, 80px 80px, 70px 70px;
  z-index: -1;
  pointer-events: none;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* Card Base */
.profile-card, .subscriptions-container {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255,0,0,0.15);
  padding: 32px 28px 28px 28px;
  position: relative;
  border: 1px solid var(--card-border);
  overflow: hidden;
  animation: cardFloat 6s infinite alternate;
}
.profile-card { min-height: 420px; }
.subscriptions-container { min-height: 420px; }

.profile-card::before,
.subscriptions-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--spidey-dark-red), var(--spidey-red), var(--spidey-dark-red));
  box-shadow: 0 0 20px var(--spidey-red);
  z-index: 2;
}

@keyframes cardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.profile-avatar-container {
  position: relative;
  width: 88px;
  height: 88px;
  margin-right: 22px;
  border-radius: 50%; /* Make container circular */
  overflow: hidden; /* Hide overflow to keep image circular */
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); /* Red glowing shadow around container */
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* Circular image */
  object-fit: cover;
  border: 3px solid var(--spidey-red);
  animation: avatarGlow 3s infinite alternate;
  display: block;
}

.profile-avatar-frame {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px solid var(--spidey-red);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
  opacity: 0.7;
  pointer-events: none;
  animation: frameRotate 15s linear infinite;
}

@keyframes avatarGlow {
  0% { box-shadow: 0 0 5px rgba(255,0,0,0.2); }
  100% { box-shadow: 0 0 25px rgba(255,0,0,0.7); }
}

@keyframes frameRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-info h2 {
  font-size: 1.55rem;
  margin-bottom: 7px;
  color: var(--spidey-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-indicator {
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--success-color);
  margin-right: 7px;
  position: relative;
}
.status-indicator::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%; background: var(--success-color); opacity: 0.5;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5;}
  70% { transform: scale(2); opacity: 0;}
  100% { transform: scale(1); opacity: 0;}
}
.profile-username {
  color: #ccc;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
}
.profile-username span {
  background: rgba(255,0,0,0.18);
  color: #fff;
  padding: 3px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,0,0,0.25);
}
.profile-info p { color: #bdbdbd; margin-bottom: 2px; font-size: 1rem; }

/* Subscriptions Header */
.subscriptions-header {
  margin-bottom: 20px;
}
.subscriptions-header h2 {
  font-size: 1.35rem;
  color: var(--spidey-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.subscriptions-header h2 i {
  color: var(--spidey-red);
  font-size: 1.3rem;
}
.subscriptions-header p {
  color: #aaa;
  margin-top: 5px;
  font-size: 0.98rem;
}

/* Subscription List */
.subscription-list { list-style: none; margin: 0; padding: 0; }
.subscription-item {
  background: rgba(20,20,20,0.68);
  border-radius: 13px;
  margin-bottom: 18px;
  padding: 22px 22px 18px 22px;
  border: 1px solid rgba(255,0,0,0.13);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.subscription-item:last-child { margin-bottom: 0; }
.subscription-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.28), 0 0 15px rgba(255,0,0,0.18);
  border-color: rgba(255,0,0,0.23);
}
.subscription-title {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.subscription-title a { color: #fff; text-decoration: none; }
.subscription-title a:hover { color: var(--spidey-red); text-decoration: underline; }
.badge {
  background: #2d0b0b;
  color: #fff;
  padding: 3px 13px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 10px;
  border: 1px solid rgba(255,0,0,0.18);
}
.lifetime-badge {
  background: linear-gradient(135deg, var(--spidey-dark-red), var(--spidey-red));
  color: #fff;
  padding: 3px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(255,0,0,0.13);
}
.lifetime-badge i { margin-right: 6px; }
.expiry-badge {
  background: rgba(255,7,7,0.18);
  color: #fff;
  padding: 3px 13px;
  border-radius: 50px;
  font-size: 0.82rem;
  margin-left: 10px;
  border: 1px solid rgba(255,7,7,0.23);
  font-weight: 600;
}
.expiry-badge i { margin-right: 6px; }
.rebill-badge {
  background: rgba(0,200,83,0.18);
  color: var(--success-color);
  padding: 3px 13px;
  border-radius: 50px;
  font-size: 0.82rem;
  margin-left: 10px;
  border: 1px solid rgba(0,200,83,0.23);
  font-weight: 600;
}
.rebill-badge i { margin-right: 6px; }
.subscription-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.subscription-date {
  font-size: 1rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 7px;
}
.subscription-date i { color: var(--spidey-red); }
.subscription-date span { color: #fff; font-weight: 600; }
.subscription-desc {
  font-size: 0.98rem;
  color: #bdbdbd;
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 10px;
}

/* Time Greeting Card */
.time-greeting {
  background: rgba(20,20,20,0.65);
  border-radius: 13px;
  margin-bottom: 18px;
  padding: 25px 22px 18px 22px;
  border: 1px solid rgba(255,0,0,0.13);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.time-greeting h3 {
  font-size: 2rem;
  color: var(--spidey-red);
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.time-greeting h3 i { color: var(--spidey-red); }
.date-time {
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.date-time p span { color: #fff; font-weight: 600; }
.time { font-size: 2.3rem; font-weight: 700; color: #fff; margin-top: 7px; letter-spacing: 1px; }

/* Notice Board */
.notice-board-container {
  margin-top: 18px;
  background: #0a0a0a;
  border-radius: 13px;
  border: 1px solid rgba(255,0,0,0.18);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
}
.notice-board-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--spidey-red), transparent);
}
.notice-board-header {
  display: flex;
  align-items: center;
  background: rgba(20,20,20,0.5);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,0,0,0.09);
}
.notice-board-header i { color: var(--spidey-red); margin-right: 12px; font-size: 1.3rem; }
.notice-board-header h3 { color: #fff; font-size: 1.13rem; margin: 0; font-weight: 700; }
.notice-board-content { padding: 16px 14px; }
.notice-item {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  background: linear-gradient(90deg, rgba(255,0,0,0.17), rgba(139,0,0,0.11));
  border-radius: 9px;
  padding: 13px 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.notice-item:last-child { margin-bottom: 0; }
.notice-link { display: block; text-decoration: none; color: #fff; width: 100%; }
.notice-content h4 {
  font-size: 1.05rem;
  margin-bottom: 3px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice-content p { color: #bdbdbd; font-size: 0.96rem; margin: 0; }
.notice-badge {
  background: var(--spidey-red);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  margin-left: 10px;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(255,0,0,0.13);
  display: inline-block;
}
.notice-badge[style*="background: #3a97ff"] {
  background: #3a97ff !important;
}
.notice-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(255,0,0,0.13);
}
.notice-item::after {
  content: '\2192';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  color: var(--spidey-red);
  opacity: 0;
  font-size: 1.5rem;
  transition: all 0.3s;
}
.notice-item:hover::after {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 700px) {
  .spidey-dashboard { padding: 6px; }
  .dashboard-grid { gap: 10px; }
  .profile-card, .subscriptions-container { padding: 12px 8px; }
  .notice-board-header { padding: 8px 8px; }
  .notice-board-content { padding: 8px 6px; }
  .subscription-item, .time-greeting { padding: 10px 8px; }
}

.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;
}
div#row-product_id_page-0-0
{
    overflow: scroll;
}
#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: #FFFFFF;
    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: #2E8B57;
    /* 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;
}
.am-login-form-wrapper {
    margin-top: 0px;
}
.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: #790003;
    font-family: 'Plus Jakarta Sans';
    
}
.am-auth-form .am-row{
    display: block;
    padding: 15px 25px;
}

.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{
    margin-bottom: 2em;
}
.am-auth-form .am-row.am-row-buttons .am-element input{
    display: block;
    width: 100%;
    border-radius: 20px;
}

.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;
}
.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{
        margin-top: 10px;
        width: 100%;
        text-align: center;
        padding: 6px;
        background-color: #790003;
        margin-bottom: 20px;
        color: #FFFFFF;
        border-radius: 24px;
    }
    #signup-page #row-paysys_id .am-element{
        margin: 0px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        padding-top: 0;
        color: black;
    }
    #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: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    box-shadow: 4px 6px 9px #b5b5b5;
    border-radius: 24px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    background-color: #ffffff;
}
.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{
        margin: 30px 0px;
    padding: 25px 25px;
    border: 2px solid #efefef;
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 4px 6px 9px rgba(0, 0, 0, 0.1) /* Add box shadow */;
}

#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 .resource-link-header{

}
#member-resources .action{
    
}

#member-resources .action a{
    
}

#widget-member-main-resources .am-block ul.am-widget-list li {
    padding: 0;
    background: transparent;
}
#widget-member-main-resources .product-description{
    text-align: center;
    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;
}