/* Frontend Styles */
.church-camps-form-wrapper .camp-availability {
    margin-bottom: 2em;
}

.church-camps-form-wrapper .spots-available {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    margin: 0;
}

.church-camps-form-wrapper .waitlist-notice {
    background-color: #fff;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 1em;
    margin-bottom: 1.5em;
}

.church-camps-form-wrapper .waitlist-notice p {
    color: #856404;
    margin: 0 0 0.5em 0;
}

.church-camps-form-wrapper .waitlist-notice p:last-child {
    margin-bottom: 0;
}

.church-camps-form-wrapper .camp-dates {
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

.church-camps-form-wrapper .camp-dates h3 {
    margin: 0 0 0.5em 0;
    color: #fff;
}

.church-camps-form-wrapper .camp-dates p {
    margin: 0;
    font-size: 1.1em;
    color: #fff;
}

.church-camps-form .form-section {
    margin-bottom: 2em;
}

.church-camps-form .form-section h3 {
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
}

.church-camps-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1em;
}

.church-camps-form .form-group {
    flex: 1;
    min-width: 250px;
}

.church-camps-form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
}

.church-camps-form input[type="text"],
.church-camps-form input[type="email"],
.church-camps-form input[type="tel"],
.church-camps-form textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.church-camps-form input[type="text"]:focus,
.church-camps-form input[type="email"]:focus,
.church-camps-form input[type="tel"]:focus,
.church-camps-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.church-camps-form textarea {
    height: 120px;
    resize: vertical;
}

.church-camps-form .submit-button {
    background-color: #0073aa;
    color: #fff;
    padding: 0.75em 2em;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.church-camps-form .submit-button:hover {
    background-color: #005177;
}

.church-camps-form .submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-messages {
    margin-top: 1em;
}

.form-messages .success-message {
    padding: 1em;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    border-radius: 4px;
}

.form-messages .error-message {
    padding: 1em;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    border-radius: 4px;
}

/* Admin Styles */
.church-camps-meta-box {
    padding: 1em;
}

.church-camps-meta-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.church-camps-meta-box input[type="date"],
.church-camps-meta-box input[type="number"] {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
}

/* Registrations Page */
.church-camps-registrations {
    margin-top: 1em;
}

.church-camps-registrations .search-box {
    display: flex;
    gap: 1em;
    align-items: center;
    margin-bottom: 1em;
}

.church-camps-registrations .tablenav-pages {
    float: right;
}

.church-camps-registrations .export-registrations {
    margin-left: 1em;
}

/* Settings Page */
.church-camps-settings {
    max-width: 800px;
    margin-top: 2em;
}

.church-camps-settings .form-table th {
    width: 200px;
}

.church-camps-settings textarea {
    height: 100px;
}

/* Elementor Widget Styles */
.elementor-widget-church_camps_form .church-camps-form-wrapper {
    margin: 0;
}

.whatsapp-link img {
  width:200px;
  height: auto;
  margin-left: 10px;
  vertical-align: middle;
}

.whatsapp-link:hover img {
  opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .church-camps-form .form-row {
        flex-direction: column;
    }

    .church-camps-form .form-group {
        width: 100%;
    }

    .church-camps-registrations .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .church-camps-registrations .search-box input,
    .church-camps-registrations .search-box select {
        width: 100%;
        margin-bottom: 0.5em;
    }
}