/* Stylesheet for the Product Scheduler Plugin */

/* || PSP GRID */

.hidden {
    display: none;
}

.entry-content {
    margin: 20px 0 20px 0;
    min-height: 300px;
}

.psp-grid {
    display: grid;
    grid-template-columns: 5fr 5fr;
    grid-gap: 10px;
    background-color: #fff;
    color: #444;
    box-sizing: border-box;
}

.psp-grid .column {
    float: left;
    width: 33.33%;
    padding: 10px;
    height: 50px; /* Should be removed. Only for demonstration */
    border: 2px solid #d4d4d4;
}

.psp-grid .row:after {
    content: "";
    display: table;
    clear: both;
}

.psp-grid input,
.psp-grid select{
    padding:10px;
    width:100%;
    box-sizing: border-box;
    font-size: 15px
}

.psp-grid button {
    font-weight: bold;
    padding: 5px 10px;
}


/* || PSP Form Status */
.psp-form-status {
    display: none;
    opacity: 0;
    font-size: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: #ededed;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px dashed grey;

}

.psp-form-status.success {
    color:#1d7f11;
    border: 1px dashed #1d7f11;
    background: #f5fff0;
    display: flex;
    opacity: 1;
}

.psp-form-status.error {
    color:#7f1111;
    background: #fff0f0;
    border: 1px dashed #7f1111;
    display: flex;
    opacity: 1;
}


/* || PSP Login Form */
#donate-psp-login-form .psp-login-status {
    font-size: 20px;
    text-align: center;
}

#donate-psp-login-form input{
    padding:10px;
    width:100%;
    box-sizing: border-box;
    font-size: 15px
};


/* || PSP My Account */
#psp-my-account {
    width: 100%;
}

#psp-my-account a {
    text-decoration: none;
    outline: none;
}

#psp-my-account a:hover {
    /* text-decoration: underline; */
}

#psp-my-account * {
    box-sizing: border-box;
}


#psp-my-account h4 {
    margin-top:10px;
}

#psp-my-account h5 {
    margin-bottom:12px;
}

#psp-my-account table td, #psp-my-account table th {
    padding: 8px;
}

#psp-my-account table {
    width: 100%;
}


#psp-my-account input,
#psp-my-account select{
    padding:10px;
    width:100%;
    box-sizing: border-box;
    font-size: 15px
};

#psp-my-account hr {
    margin: 30px 0;
}


#psp-my-account table td,
#psp-my-account table tr ,
#psp-my-account table th {
    border: 1px solid #e4e4e4;
}

#psp-my-account .tabs {
    display: flex;
}

#psp-my-account .tabs .tab-item {
    flex: 1;
    padding: 10px;
    background-color: #f4f4f4;
    border-top: 2px solid #d4d4d4;
    border-left: 2px solid #d4d4d4;
    border-bottom: 2px solid #d4d4d4;
    cursor: pointer;
}

#psp-my-account .tabs .tab-item.tab-active {
    background-color: #fff !important;
    border-bottom: 2px solid #ffffff !important;
}

#psp-my-account .tabs .tab-item:hover {
    background-color: #ddd;
}

.tab-item:last-child {
    border-right: 2px solid #d4d4d4;
}

#psp-my-account .row:after {
    content: "";
    display: table;
    clear: both;
}

#psp-my-account .containerTab {
    display:none;
    border-top: 0;
    border-right: 2px solid #d4d4d4;
    border-bottom: 2px solid #d4d4d4;
    border-left: 2px solid #d4d4d4;
    padding: 20px;
    background-color: #fff;
}

#psp-my-account .psp-grid {
    display: grid;
    grid-template-columns: 5fr 5fr;
    grid-gap: 10px;
    background-color: #fff;
    color: #444;
    box-sizing: border-box;
}

#psp-my-account .psp-log-out{
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

#psp-my-account .box {
    background-color: #444;
    color: #fff;
    border-radius: 5px;
    padding: 20px;
    font-size: 150%;
  }

.psp-order-info{
    border: 1px solid grey;
    padding: 10px;
}

#psp-my-account .psp-loader-container {
    margin: auto;
    width: 70px;
}

#psp-my-account .psp-loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite; /* Safari */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

/* || PSP Forgot Password */
#psp-forgot-password h4{
    margin-bottom: 0px;
}

/* PSP user login form */
#donate-psp-login .psp-checkout-user-login-cta {
    display: none;
}

#psp-checkout-user-login #donate-psp-login .psp-checkout-user-login-cta {
    display: block;
}

#psp-checkout-user-login #donate-psp-login .psp-user-login-form-container {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.5s, transform 0.5s, visibility 0s ease-in-out 0.5s, opacity 0.4s linear 0.4s;
}

#psp-checkout-user-login #donate-psp-login .psp-user-login-form-container.open {
    max-height: 250px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#psp-checkout-user-login #donate-psp-login  input[type="submit"]#psp-login-submit {
    background-color: #000 !important;
    color: #fff;
    width: 100%;
    max-width: 200px;
}
#psp-checkout-user-login #donate-psp-login  .ds-fe__flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#psp-user-greeting {
    text-align: center;
    margin: 40px 0;
}

/* PSP Create Account */

#psp-account-create-container label {
    display: flex;
    align-items: center;
}

#psp_account_create_check {
    margin-right: 10px !important;
    width: 16px !important;;
    height: 16px !important;;
    outline: none !important;;
}

#psp_account_create_form {
    overflow: hidden !important;
    max-height: 0 !important;
    opacity: 0;  /* Set initial opacity to 0 */
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out !important; /* Add transition for opacity */
}

#psp_account_create_form.open {
    max-height: 200px !important;
    opacity: 1;  /* Set opacity to 1 when form is open */
}