/* PRAYER REQUESTS PAGE STYLES */

/* PAGE HEADER */
.page-header {
    padding: 100px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.page-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* PRAYER FORM SECTION */
.prayer-form-section {
    padding: 80px 0;
}

.prayer-form-section .container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.prayer-form .form-group {
    margin-bottom: 20px;
}

.prayer-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.prayer-form input,
.prayer-form select,
.prayer-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

.prayer-form input:focus,
.prayer-form select:focus,
.prayer-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.15);
}

.prayer-form textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.15);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--background);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-prayer-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: var(--background);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 30px;
}

.submit-prayer-btn:hover {
    opacity: 0.9;
}

.form-message {
    text-align: center;
    margin-top: 20px;
    min-height: 20px;
}

/* PRAYER INFO CARDS */
.prayer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 10px;
}

/* COMMUNITY PRAYER SECTION */
.community-prayer {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.03);
}

.community-prayer h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.prayer-requests {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.prayer-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prayer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prayer-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.prayer-type-tag {
    background-color: var(--primary);
    color: var(--background);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.prayer-content {
    margin-bottom: 15px;
    line-height: 1.7;
}

.prayer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-prayers-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .prayer-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .prayer-info {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-intro {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .prayer-requests {
        grid-template-columns: 1fr;
    }
}