:root {
    --primary-color: #1a531c;
    --accent-color: #cda434;
    --bg-color: #fcfdfc;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNjZGE0MzQiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6bTIwIDIwaDIwdjIwSDIWMjB6TTAgMjBoMjB2MjBIMFYyMHoyMCAwaDIwdjIwSDIwVjB6Ii8+PC9nPjwvZz48L3N2Zz4=');
}

.artistic-container { width: 95%; max-width: 700px; }

.masterpiece-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(26, 83, 28, 0.1);
    border: 1px solid rgba(205, 164, 52, 0.2);
    position: relative;
    text-align: center;
}

.image-frame {
    width: 180px; height: 180px;
    margin: 0 auto;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), transparent, var(--accent-color));
    animation: rotateFrame 10s linear infinite;
}

.doctor-image {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    position: relative; z-index: 2;
}

.mercy-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: -20px;
    position: relative; z-index: 3;
    border: 1px solid var(--accent-color);
}

.doctor-name { color: var(--primary-color); font-size: 28px; margin: 20px 0 5px; }
.system-title { color: var(--accent-color); font-size: 16px; margin-bottom: 20px; }

.separator {
    width: 80%; height: 1px; background: #eee;
    margin: 20px auto; position: relative;
}

.search-box { position: relative; margin-top: 30px; }

input[type="text"] {
    width: 100%; padding: 18px 25px; padding-left: 130px;
    border-radius: 50px; border: 2px solid #eee;
    font-size: 16px; font-family: 'Cairo'; outline: none;
}

button {
    position: absolute; left: 8px; top: 8px; bottom: 8px;
    background: var(--primary-color); color: white;
    border: none; padding: 0 20px; border-radius: 40px;
    cursor: pointer; font-family: 'Cairo'; font-weight: bold;
}

#mealResult {
    margin-top: 30px; text-align: right; line-height: 1.8;
    white-space: pre-wrap; padding: 20px;
    background: #f9fbf9; border-radius: 15px; display: none;
}

@keyframes rotateFrame { from {transform: rotate(0deg);} to {transform: rotate(360deg);} }
