/* --- Overlay + Popup Box --- */
#aicp-auth-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aicp-auth-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0; left: 0;
}

.aicp-auth-box {
  position: relative;
  background: #fff;
  max-width: 400px;
  width: 90%;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 10000;
  animation: fadeInUp 0.3s ease;
}

/* --- Close Button --- */
.aicp-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 3rem;
  cursor: pointer;
  color: #555;
}
.aicp-close:hover {
  color: #ff6b6b;
}

/* --- Tabs --- */
.aicp-auth-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}
.aicp-auth-tabs .tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: #555;
  transition: all 0.2s;
}
.aicp-auth-tabs .tab-btn.active {
  color: #e91e63;
  border-color: #e91e63;
}

/* --- Headings & Paragraphs --- */
.aicp-upgrade-box p.auth-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.aicp-auth-content p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
}

/* --- Forms --- */
.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.2s;
  font-size:1rem
}
.woocommerce-form input:focus {
  border-color: #e91e63;
  outline: none;
}

.woocommerce-form .button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #ff6b6b, #ff9472);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.woocommerce-form .button:hover {
  background: linear-gradient(to right, #ff5252, #ffb374);
}

.woocommerce-form label {
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 10px;
}

/* --- Divider Text --- */
.login-extra-text,
.or-divider {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin: 15px 0;
  position: relative;
}
.or-divider::before,
.or-divider::after {
  content: "";
  height: 1px;
  background: #ddd;
  position: absolute;
  top: 50%;
  width: 40%;
}
.or-divider::before {
  left: 0;
}
.or-divider::after {
  right: 0;
}
/**Popup plan*/
#aicp-upgrade-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  display: none;
}

#aicp-upgrade-popup.aicp-popup-hidden {
  display: none;
}

/* === Overlay === */
.aicp-upgrade-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* === Popup Box === */
.aicp-upgrade-box {
  position: relative;
  max-width: 650px;
  margin: 40px auto;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 30px;
  z-index: 99999;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.4s ease;
}

.aicp-upgrade-box h2{
	font-size:1.5rem;
	color:#333
}
.aicp-upgrade-box p{font-size:0.9rem}

@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === Close Button === */
.aicp-close-upgrade {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 3rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.aicp-close-upgrade:hover {
	color:#ff6b6b;
}

.aicp-plan-columns {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}

.aicp-plan-column {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 2px solid #ddd;
  text-align: center;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.aicp-plan-column:hover {
  border-color: #0073aa;
  transform: translateY(-5px);
}

.aicp-plan-column p.plan-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color:#ff6b6b;
}

.aicp-price {
  font-size: 1.3rem;
  color: #0073aa;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 15px;
 border-bottom: 1px solid #c2c2c2;
}

.aicp-price span {
  font-size: 14px;
  color: #555;
}

.aicp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.6;
}

.aicp-feature-list li {
  padding-left: 1.2em;
  position: relative;
}

.aicp-btn-upgrade {
  display: inline-block;
  background: linear-gradient(to right, #ff6b6b, #ff9472);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  font-size:0.9rem;
  transition: background 0.3s;
}

.aicp-btn-upgrade:hover {
  box-shadow: rgba(255, 107, 107, 0.4) 0px 6px 16px;
  transform: scale(1.05);
  background: linear-gradient(to right, rgb(255, 82, 82), rgb(255, 179, 116));
  outline: none;
}

.badge {
  background: #ff9800;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
}



/* --- Social Login Buttons (Nextend default) --- */
.nsl-container {
  text-align: center;
}
.nsl-container .nsl-button {
  margin: 10px auto;
}

.aicp-auth-content div.nsl-container{text-align:center !important}
.aicp-auth-content div.nsl-container .nsl-button-default div.nsl-button-label-container{
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;font-size:1rem}
.aicp-auth-content .woocommerce-form .button{font-size:1rem}
/* --- Animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*gelary*/
.aicp-user-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.aicp-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.aicp-gallery-item p {
  text-align: center;
  font-size: 14px;
  margin-top: 4px;
}

.aicp-gallery-actions {
  margin-top: 5px;
}
.aicp-gallery-actions button,
.aicp-gallery-actions a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  cursor: pointer;
}
.aicp-gallery-actions button:hover,
.aicp-gallery-actions a:hover {
  background: #ddd;
}


/* --- Responsive --- */
@media (max-width: 480px) {
  .aicp-auth-box {
    padding: 20px;
  }
  .aicp-auth-content h2 {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
	.aicp-upgrade-overlay{position:fixed;}
	#aicp-upgrade-popup{position:absolute}
.aicp-plan-columns{ flex-direction: column;}
.aicp-plan-column {flex:1 1 90%}
}
