/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card {
    width: 800px; /* Adjusted width for more content */
    height: 350px; /* Height remains the same */
    perspective: 1000px;
    margin-bottom: 20px;
}


.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-front, .card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card-front {
    background: #2ecc71;
    color: white;
}

.card-back {
    background: #ffffff;
    transform: rotateY(180deg);
}

.nurse-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.textbox {
    position: absolute;
    top: 15px;
    
    width: 50%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}

textarea {
    width: 90%;
    height: 80px;
    margin-top: 10px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
}

.button-container {
    margin-top: 10px;
    display: flex;
    gap: 10px; /* Space between buttons */
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #34495e;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #2c3e50;
}

.card-flipped .card-inner {
    transform: rotateY(180deg);
}
