/* Base Styles */
body {
    font-family: 'Noto Serif', serif;
    background: #FAF5EF;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* Form Enhancements */
.vd-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, #F5F5F5 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(72, 188, 162, 0.1);
    overflow: hidden;
    animation: vd-fade-in 0.6s ease-out;
}

@keyframes vd-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.vd-form-header {
    background: linear-gradient(135deg, #48bca2 0%, #25ad99 100%);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(72, 188, 162, 0.2);
}

.vd-form-header h2 {
    margin: 0 0 10px;
    font-size: 2em;
    text-shadow: 1px 1px 3px rgba(10, 5, 0, 0.3);
}

.vd-form-subtitle {
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

.vd-prayer-form {
    padding: 30px;
}

.vd-form-group {
    margin-bottom: 20px;
    position: relative;
}

.vd-form-group label {
    display: block;
    color: #0a0500;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.vd-form-group label i {
    color: #25ad99;
    margin-right: 8px;
}

.vd-form-group input[type="text"],
.vd-form-group textarea,
.vd-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #EBEBEB;
    border-radius: 10px;
    color: #0a0500;
    background: #ffffff;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #48bca2 50%), linear-gradient(135deg, #48bca2 50%, transparent 50%);
    background-position: calc(100% - 20px) center, calc(100% - 15px) center;
    background-size: 10px 10px, 10px 10px;
    background-repeat: no-repeat;
}

.vd-form-group input[type="text"]:focus,
.vd-form-group textarea:focus,
.vd-form-group select:focus {
    border-color: #48bca2;
    box-shadow: 0 0 0 3px rgba(72, 188, 162, 0.1);
    outline: none;
}

.vd-form-group textarea {
    height: 120px;
    resize: vertical;
}

.vd-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #4f4f4f;
    font-size: 1em;
}

.vd-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
}

.vd-checkbox-icon {
    display: none;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    margin: 20px 0;
    transform: scale(1);
    transform-origin: 0 0;
}

.vd-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #48bca2 0%, #25ad99 100%);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vd-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 188, 162, 0.3);
}

.vd-submit-btn i {
    font-size: 1.2em;
}

.vd-form-footer {
    background: rgba(72, 188, 162, 0.1);
    padding: 20px;
    text-align: center;
    color: #4f4f4f;
    font-style: italic;
}

.vd-footer-phrase {
    margin: 0;
    color: #25ad99;
    font-weight: 500;
}

/* Messages */
.vd-success, .vd-error {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.vd-success {
    background: rgba(37, 173, 153, 0.1);
    color: #25ad99;
    border: 1px solid rgba(37, 173, 153, 0.2);
}

.vd-error {
    background: rgba(255, 0, 0, 0.1);
    color: red;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

/* Prayer and Gratitude Wall */
.vd-wall-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #FAF5EF;
    position: relative;
    overflow: visible;
}

.vd-prayer-wall {
    background: #FAF5EF;
}

.vd-gratitude-wall {
    background: #FAF5EF url('../Dwarkamai Wall.jpg') no-repeat top left;
    background-size: contain;
    background-blend-mode: overlay;
}

.vd-wall-title {
    color: #4A2C2A;
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.vd-wall-subtitle {
    color: #8B5A2B;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.vd-prayer-chat, .vd-gratitude-chat {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px;
    overflow: visible;
    max-height: none;
}

.vd-prayer-card, .vd-gratitude-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FAF5EF 100%);
    border: 1px solid #E0D7C9;
    padding: 16px;
    width: 70%;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.vd-prayer-header, .vd-gratitude-header {
    border-bottom: 1px dashed #8B5A2B;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
    color: #4A2C2A;
}

.vd-prayer-content, .vd-gratitude-content {
    margin: 0 0 10px;
    color: #4A2C2A;
    word-wrap: break-word;
    flex-grow: 1;
    line-height: 1.4;
    overflow: visible;
    height: auto;
    max-height: none;
}

.vd-prayer-meta, .vd-gratitude-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.vd-date {
    font-size: 0.9em;
    color: #8B5A2B;
    font-style: italic;
}

.vd-pray-btn {
    background: #F5C76E;
    color: #4A2C2A;
    border: 1px solid #E0B05A;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vd-pray-btn:hover {
    background: #e0b05a;
}

.vd-pray-btn span {
    margin-left: 5px;
}

.vd-jai-btn {
    background: #F5C76E;
    color: #4A2C2A;
    border: 1px solid #E0B05A;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vd-jai-btn:hover {
    background: #e0b05a;
}

.vd-jai-btn span {
    margin-left: 5px;
}

.vd-no-prayers {
    font-size: 0.9em;
    color: #8B5A2B;
    text-align: center;
}

.vd-load-more {
    text-align: center;
    margin-top: 20px;
}

.vd-load-more-btn {
    background: #F5C76E;
    color: #4A2C2A;
    border: 1px solid #E0B05A;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vd-load-more-btn:hover {
    background: #e0b05a;
}

/* AdSense Styling */
.ad-slot {
    margin: 20px auto;
    text-align: center;
    width: 70%;
    max-width: 728px;
}

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Responsive */
@media (max-width: 600px) {
    .vd-form-wrapper {
        margin: 10px;
        border-radius: 15px;
    }
    .vd-prayer-form {
        padding: 20px;
    }
    .vd-prayer-card, .vd-gratitude-card {
        width: 100%;
        padding: 12px;
    }
    .vd-wall-title {
        font-size: 2em;
    }
    .vd-wall-subtitle {
        font-size: 1em;
    }
    .vd-prayer-chat, .vd-gratitude-chat {
        gap: 20px;
    }
    .ad-slot {
        width: 100%;
    }
}