body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    padding: 20px;
    max-width: 900px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
h1, h2, h4, p {
    text-align: center;
}
p {
    font-size: 1.8rem;
}
.prayer {
    margin-bottom: 20px;
}

/* Estilos para o Popup de Formulário (Tela cheia) */
.popup-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.popup-form .form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}
.popup-form h3 {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 10px;
}
.popup-form h4 {
    font-size: 1rem;
    color: blue;
    margin-bottom: 10px;
}
.popup-form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.popup-form input::placeholder {
    font-size: 1rem;
}
.popup-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
}
.popup-form p {
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Estilos para o Popup Menor */
.popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 280px;
    height: 166px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
    background-color: #ffffcc;
    display: none;
    z-index: 1000;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.popup-content > * {
     width: 100%;
     height: 100%;
     border: none;
     object-fit: cover;
}
.popup-text-content, .popup-audio-content {
    background-color: #ffffcc;
    padding: 5px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilos para o Modal Flutuante */
.floating-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
}
.floating-modal input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 70%;
    font-size: 1.2rem;
}
.floating-modal button {
    padding: 12px 30px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Estilo para avisos */
.alert {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    z-index: 3000;
}

.alert.error {
    background-color: #dc3545;
}

/* Missionario Page Specific Styles */
.missionary-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 2px solid #007bff;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 10px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    height: 420px;
}
#daily-call-container-missionary {
    width: 480px;
    height: 100%;
}
#comments-container {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
#comments-feed {
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9;
}
.comment {
    border-bottom: 1px solid #eee;
    padding: 8px 4px;
    font-size: 0.9rem;
}
.comment strong {
    color: #0056b3;
}
.comment p {
    font-size: 1rem;
    margin: 4px 0 0 0;
    text-align: left;
}
.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}
.form-overlay .form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.form-overlay h3 {
    color: #333;
}
.form-overlay input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.form-overlay button {
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
}
