/* Join page specific styles */

body {
    background: linear-gradient(135deg, #f0e6ff 0%, #fbfafc 50%, #f2eafc 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #000000 !important;
}

/* Ensure all text elements are dark and stand out */
h1, h2, h3, h4, h5, h6, p, label, span, div, a, li, td, th {
    text-shadow: none;
}

/* Form labels larger */
label {
    font-size: 16px !important;
    font-weight: 500;
    margin-bottom: 8px;
    display: inline-block;
}

/* Specific emphasis for headings */
h1, h2, h3 {
    font-weight: 700;
    color: #1a1a1a !important;
}

h3 {
    font-size: 28px !important;
}

h5 {
    font-size: 20px !important;
}

/* Paragraph text larger */
p {
    font-size: 18px !important;
    line-height: 1.6;
    color: #000000 !important;
    font-weight: 950;
}

/* Strong elements */
strong, b {
    color: #000000 !important;
    font-weight: 950;
}

/* Input field styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border: 1px solid #ccc !important;
	border-radius: 6px;
    color: #000000 !important;
    padding: 15px 12px;
	background: none !important;
	font-size: 16px !important;
	height: 50px;
	line-height: 1.5;
}

/* Select dropdowns need specific styling */
select {
	height: 50px !important;
	font-size: 16px !important;
	border-radius: 6px !important;
}

/* Textarea should be taller */
textarea {
	min-height: 100px;
	height: auto;
}

/* Amount and frequency select dropdowns */
#amount,
#frequency {
    background: none !important;
}

/* Placeholder text visibility */
input::placeholder,
textarea::placeholder {
    color: #666666 !important;
    opacity: 1;
}

/* Focus state for inputs */
input:focus,
select:focus,
textarea:focus {
    border-color: #ccc !important;
    outline: none;
	background: none !important;
}

/* Button styles */
button,
input[type="submit"],
input[type="button"],
.btn,
a.button {
    color: #ffffff !important;
	font-size: 16px !important;
	height: 50px;
	padding: 12px 25px;
}

/* Responsive button sizing for larger screens */
@media (min-width: 768px) {
    button,
    input[type="submit"],
    input[type="button"],
    .btn,
    a.button {
		font-size: 20px !important;
        height: 60px;
        padding: 20px 40px;
    }
}

/* Checkbox styling */
.checkbox-wrapper {
    margin: 15px 0;
    background: none !important;
}

.checkbox-wrapper label {
    font-size: 14px;
    line-height: 1.5;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: #7722cc;
    cursor: pointer;
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    margin: 2px 0 0 0 !important;
}

.checkbox-wrapper span {
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.checkbox-wrapper a {
    color: #7722cc !important;
    text-decoration: underline;
}

.checkbox-wrapper a:hover {
    color: #9933FF !important;
}

/* Disabled button styling */
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Verify Email button styling */
.verify-email-btn {
    background: #7722cc !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: background 0.3s ease;
	height: -webkit-fill-available;
}

.verify-email-btn:hover {
    background: #9933FF !important;
}

.verify-email-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Email error message styling */
.email-error {
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Form group spacing */
.form-group {
    margin-bottom: 20px !important;
}

/* Form info text */
.form-info {
    font-size: 18px !important;
    margin-bottom: 15px !important;
    font-weight: 950;
}

/* Progress loader styling */
#payment_processing {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#payment_processing h4 {
    font-weight: 700 !important;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #7722cc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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