body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f6f7f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #b4d6ed;
    border-bottom: 1px solid #ddd;
}

.portrait {
    width: 150px;
    border-radius: 50%;
    border: 3px solid #ccc;
    margin-bottom: 20px;
}

h1 {
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 20px;
}

button {
    background-color: #2d89ef;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1b66d1;
}

.memories {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.memory {
    background: #ffffff;
    border: 1px solid #ddd;
    border-left: 5px solid #4caf50;
    padding: 30px 20px 20px 60px;
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.memory::before {
    content: "❝";
    font-size: 40px;
    color: #ccc;
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: Georgia, serif;
}

.memory-text {
    font-style: italic;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.memory-meta {
    text-align: right;
    color: #666;
    font-size: 14px;
    font-family: Georgia, serif;
}
.memory strong {
    font-size: 16px;
}

.memory p {
    margin: 10px 0;
    font-size: 15px;
}

.memory small {
    color: #777;
    font-size: 12px;
}

/* Modal Form */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    top: 0; left: 0; width: 100%; height: 100%;
    justify-content: center;
    align-items: center;
}

.modal form {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal label {
    margin-top: 10px;
    font-weight: bold;
}

.modal input, .modal textarea {
    padding: 8px;
    margin-top: 4px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal button {
    margin-top: 15px;
}

/* ✅ Responsive Styles */
@media (max-width: 600px) {
    .hero {
        padding: 30px 15px;
    }

    .portrait {
        width: 120px;
    }

    h1 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .modal form {
        width: 90%;
        padding: 15px 20px;
    }

    .memories {
        padding: 0 10px;
    }

    .memory p {
        font-size: 14px;
    }
}
.admin-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.admin-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}

table th {
    background-color: #f3f3f3;
}

tr.approved {
    background-color: #e7fbe7;
}

tr.unapproved {
    background-color: #fff5f5;
}

table td textarea {
    width: 100%;
    height: 80px;
}

form.admin-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

form.admin-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

button[name="approve"] {
    background-color: #4caf50;
    color: white;
}

button[name="delete"] {
    background-color: #f44336;
    color: white;
}

.admin-links {
    text-align: right;
    margin-top: 10px;
    font-size: 14px;
}
.thank-you {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
    color: #2e7d32;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 6px;
    font-size: 16px;
}
.hero-bg {
    background-image: url('hero-bg.jpg'); /* or 'images/hero-bg.jpg' */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #b4d6ed; /* fallback */
}