/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Mohd Zaen
Author URI: alumniissa.org
Template: hello-elementor
Version: 1.0.0
*/

/* Import Parent Theme CSS */
@import url("../hello-elementor/style.css");

/* Custom CSS */
header.site-header {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

/* body {
    padding-top: 80px;
} */

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: darkpurple;
}

/* Firefox */
* {
    scrollbar-color: #201434 #f0f0f0;
}

/*Membership*/

/* General Form Container */
#pms_register-form,
#pms_login,
#pms_recover_password_form,
#pms-payment-error,
#pms-retry-payment-subscription-form, #pms_edit-profile-form, #pms-payment-history {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.pms-payment-history {
	align-content: center;
}
.pms-alert, .pms-account-subscription-details-table {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-collapse: collapse;
    width: 100%;
}


// .page-content{
// 	padding-top: 4%;
//   padding-bottom: 4%;
//   padding-left: 4%;
//   padding-right: 4%;
// }

/* Page Title */
.page-header .entry-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Form Field Styles */
.pms-field {
    margin-bottom: 1.5rem;
    list-style: none;
}

.pms-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #333;
}

.pms-field input[type="text"],
.pms-field input[type="password"],
.pms-field input[type="email"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.pms-field input:focus {
    border-color: #0073aa;
    outline: none;
}

/* Subscription Plans */
.pms-subscription-plan {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.pms-subscription-plan:hover {
    background-color: #eef6fb;
    border-color: #0073aa;
}

.pms-subscription-plan input[type="radio"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
    vertical-align: middle;
}

.pms-subscription-plan-name {
    font-weight: bold;
    font-size: 1.05rem;
    margin-right: 5px;
}

.pms-subscription-plan-price {
    font-size: 0.95rem;
    color: #444;
}

.pms-subscription-plan-sign-up-fee {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.3rem;
}

/* Payment Gateways */
#pms-paygates-wrapper {
    margin-top: 2rem;
}

#pms-paygates-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

#pms-paygates-inner label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    cursor: pointer;
}

#pms-paygates-inner input[type="radio"] {
    margin-right: 0.5rem;
    transform: scale(1.1);
}

/* Payment Placeholder */
#pms-stripe-payment-elements,
#pms-paygate-extra-fields-paypal_connect__placeholder {
    background: #fffbea;
    padding: 1rem;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* Submit Button */
.pms-form-submit {
    display: block;
    width: 100%;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1.5rem;
}

.pms-form-submit:hover {
    background-color: #005f8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    #pms_register-form {
        padding: 1rem;
    }

    .pms-subscription-plan {
        padding: 0.8rem;
    }

    .page-header .entry-title {
        font-size: 1.5rem;
    }
}

/* Style the overall form */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fefefe;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Style individual fields */
.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
	width: 100%;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

/* Style inputs */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus {
  border-color: #0053ba;
  outline: none;
}

/* Style password input (shared class) */
.cf7-password {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Submit button */
.wpcf7-submit {
  background-color: #0053ba;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.wpcf7-submit:hover {
  background-color: #003f90;
}

/* Spinner and response */
.wpcf7-spinner {
  display: none !important;
}

.wpcf7-response-output {
  margin-top: 15px;
  font-size: 14px;
  color: #d9534f;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .wpcf7-form {
    padding: 20px;
  }

  .wpcf7-submit {
    padding: 12px;
    font-size: 15px;
  }
}

/* Center align submit button */
.wpcf7 .wpcf7-form-control.wpcf7-submit {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

/* Center align the wrapper paragraph */
.wpcf7 p:has(.wpcf7-submit) {
  text-align: center;
}

/* Center the message text */
.wpcf7 p:last-of-type label {
  display: block;
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: #444;
}
