/* Frontend CSS for WP Stripe Plans */

/* Email form styling */
.wp-stripe-plans-form-container {
    max-width: 400px;
    margin: 20px 0;
}

.wp-stripe-plans-email-field {
    margin-bottom: 15px;
}

.wp-stripe-plans-email-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.stripe-plan-email {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.wp-stripe-plans-email-validation {
    margin-top: 5px;
    font-size: 14px;
}

.wp-stripe-plans-error {
    color: red;
    margin-top: 10px;
    padding: 8px;
    background-color: #ffeeee;
    border-radius: 4px;
    border: 1px solid #ffcccc;
}

.wp-stripe-plans-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

input.stripe-plan-email {
    color: black !important;
}

.wp-stripe-plans-button {
    display: inline-block;
    background-color: #3d69b3;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wp-stripe-plans-button:hover {
    background-color: #005177;
    color: #ffffff;
}

.wp-stripe-plans-button:disabled {
    background-color: #a5a5a5;
    cursor: not-allowed;
}

.wp-stripe-plans-success,
.wp-stripe-plans-cancel {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wp-stripe-plans-success h2,
.wp-stripe-plans-cancel h2 {
    color: #333333;
    margin-bottom: 20px;
}

.wp-stripe-plans-success p,
.wp-stripe-plans-cancel p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.wp-stripe-plans-success .wp-stripe-plans-button,
.wp-stripe-plans-cancel .wp-stripe-plans-button {
    margin-top: 20px;
}

.plan-details-table, .plan-details-table th, .plan-details-table td {
    border: none;
}

.plan-details-table td {
    background: #212121;
}

.plan-details-table th {
	text-align: left;
    background: #212121;
    border-left: 2px solid #424242 !important;
}
