.prayer-wall-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.prayer-form-section {
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #56AEBF;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.prayer-form-header {
    background: linear-gradient(135deg, #56AEBF, #4a9bb0);
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.prayer-form-header:hover {
    background: linear-gradient(135deg, #4a9bb0, #56AEBF);
}

.prayer-form-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.accordion-icon {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-icon.active {
    transform: rotate(180deg);
}

.prayer-form-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.prayer-form-content.active {
    padding: 30px;
    max-height: 800px;
}

#prayer-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#prayer-form input, #prayer-form select, #prayer-form textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#prayer-form input:focus, #prayer-form select:focus, #prayer-form textarea:focus {
    outline: none;
    border-color: #56AEBF;
    box-shadow: 0 0 0 3px rgba(86, 174, 191, 0.1);
}

#prayer-form textarea {
    height: 100px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    color: #000;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

#prayer-form button[type="submit"] {
    background: #56AEBF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: bold;
}

#prayer-form button[type="submit"]:hover {
    background: #4a9bb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 174, 191, 0.3);
}

.prayer-search-section {
    margin-bottom: 30px;
    text-align: center;
}

.prayer-search-section form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.prayer-search-section input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.prayer-search-section button {
    background: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.prayer-search-section button:hover {
    background: #333;
}

.prayer-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.prayer-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.prayer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.prayer-header h4 {
    margin: 0;
    color: #000;
    font-size: 18px;
}

.prayer-category {
    background: #56AEBF;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.prayer-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.prayer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prayer-count {
    color: #666;
    font-size: 14px;
}

.pray-button {
    background: #56AEBF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.pray-button:hover:not(:disabled) {
    background: #4a9bb0;
    transform: translateY(-2px);
}

.pray-button:disabled {
    background: #000;
    cursor: not-allowed;
    opacity: 0.8;
}

.prayer-pagination {
    text-align: center;
    margin-top: 30px;
}

.prayer-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.prayer-pagination .page-numbers:hover,
.prayer-pagination .page-numbers.current {
    background: #56AEBF;
    color: white;
    border-color: #56AEBF;
}

.prayer-message {
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

.prayer-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.prayer-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Praise Wall Specific Styles */
.praise-wall-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.praise-form-section {
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #56AEBF;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.praise-form-header {
    background: linear-gradient(135deg, #56AEBF, #4a9bb0);
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.praise-form-header:hover {
    background: linear-gradient(135deg, #4a9bb0, #56AEBF);
}

.praise-form-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.praise-form-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.praise-form-content.active {
    padding: 30px;
    max-height: 800px;
}

#praise-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#praise-form input, #praise-form select, #praise-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#praise-form input:focus, #praise-form select:focus, #praise-form textarea:focus {
    outline: none;
    border-color: #56AEBF;
    box-shadow: 0 0 0 3px rgba(86, 174, 191, 0.1);
}

#praise-form textarea {
    height: 100px;
    resize: vertical;
}

#praise-form button[type="submit"] {
    background: #56AEBF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: bold;
}

#praise-form button[type="submit"]:hover {
    background: #4a9bb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 174, 191, 0.3);
}

.praise-search-section {
    margin-bottom: 30px;
    text-align: center;
}

.praise-search-section form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.praise-search-section input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.praise-search-section button {
    background: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.praise-search-section button:hover {
    background: #333;
}

.praise-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.praise-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.praise-item.praise-converted {
    border-left: 4px solid #56AEBF;
}

.praise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.praise-header h4 {
    margin: 0;
    color: #000;
    font-size: 18px;
}

.praise-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.praise-category {
    background: #56AEBF;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.praise-converted-tag {
    background: #17a2b8;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.praise-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.original-prayer-section {
    background: #f0f8ff;
    padding: 15px;
    border-left: 4px solid #56AEBF;
    border-radius: 5px;
    margin-bottom: 15px;
}

.praise-update-section {
    background: #f0fff4;
    padding: 15px;
    border-left: 4px solid #28a745;
    border-radius: 5px;
}

.section-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.prayer-count-note {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 5px 0 10px 0;
}

.original-prayer-text,
.praise-update-text {
    color: #333;
    line-height: 1.6;
}

.praise-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.praise-count {
    color: #666;
    font-size: 14px;
}

.thank-button {
    background: #56AEBF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.thank-button:hover:not(:disabled) {
    background: #4a9bb0;
    transform: translateY(-2px);
}

.thank-button:disabled {
    background: #000;
    cursor: not-allowed;
    opacity: 0.8;
}

.praise-pagination {
    text-align: center;
    margin-top: 30px;
}

.praise-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.praise-pagination .page-numbers:hover,
.praise-pagination .page-numbers.current {
    background: #56AEBF;
    color: white;
    border-color: #56AEBF;
}

.praise-message {
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
}

.praise-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.praise-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Styles */
.prayer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.prayer-modal {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.prayer-modal-header {
    background: linear-gradient(135deg, #56AEBF, #4a9bb0);
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prayer-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.prayer-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.prayer-modal-close:hover {
    transform: scale(1.2);
}

.prayer-modal-body {
    padding: 25px;
}

.prayer-modal-body p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.email-hint {
    background: #f0f8ff;
    border-left: 4px solid #56AEBF;
    padding: 12px;
    border-radius: 5px;
    margin: 15px 0;
}

.email-hint strong {
    color: #56AEBF;
    font-size: 16px;
}

.prayer-modal-input,
.prayer-modal-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.prayer-modal-textarea {
    resize: vertical;
    min-height: 100px;
}

.prayer-modal-input:focus,
.prayer-modal-textarea:focus {
    outline: none;
    border-color: #56AEBF;
    box-shadow: 0 0 0 3px rgba(86, 174, 191, 0.1);
}

.prayer-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.prayer-modal-cancel,
.prayer-modal-submit {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.prayer-modal-cancel {
    background: #f0f0f0;
    color: #333;
}

.prayer-modal-cancel:hover {
    background: #e0e0e0;
}

.prayer-modal-submit {
    background: #56AEBF;
    color: white;
}

.prayer-modal-submit:hover:not(:disabled) {
    background: #4a9bb0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 174, 191, 0.3);
}

.prayer-modal-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Prayer Wall Updates for Praise Features */
.prayer-item.prayer-praised {
    border-left: 4px solid #ffc107;
}

.prayer-tags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.prayer-praised-tag {
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.prayer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.convert-to-praise-button {
    background: #ffc107;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.convert-to-praise-button:hover:not(:disabled) {
    background: #e0a800;
    transform: translateY(-2px);
}

.convert-to-praise-button:disabled {
    background: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .prayer-wall-container, .praise-wall-container {
        padding: 10px;
    }
    
    .prayer-form-header, .praise-form-header {
        padding: 15px 20px;
    }
    
    .prayer-form-header h3, .praise-form-header h3 {
        font-size: 20px;
    }
    
    .prayer-form-content.active, .praise-form-content.active {
        padding: 20px;
    }
    
    #prayer-form .form-row, #praise-form .form-row {
        flex-direction: column;
    }
    
    .prayer-header, .praise-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .prayer-footer, .praise-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .prayer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .prayer-actions button {
        width: 100%;
    }
    
    .prayer-search-section form, .praise-search-section form {
        flex-direction: column;
    }
    
    .prayer-tags, .praise-tags {
        flex-wrap: wrap;
    }
    
    .prayer-modal {
        width: 95%;
        margin: 10px;
    }
    
    .prayer-modal-header {
        padding: 15px;
    }
    
    .prayer-modal-header h3 {
        font-size: 18px;
    }
    
    .prayer-modal-body {
        padding: 20px;
    }
    
    .prayer-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .prayer-modal-cancel,
    .prayer-modal-submit {
        width: 100%;
    }
} 