body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    text-align: center;
}

h1 {
    margin-top: 30px;
}

.patient-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.patient-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.patient-card:hover {
    transform: scale(1.05);
}

.patient-card img {
    width: 100%;
    border-radius: 8px;
}

.patient-card a {
    text-decoration: none;
    color: black;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0a3d62;
    padding: 15px 30px;
    color: white;
}

.logo {
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}


.main-container {
    display: flex;
    gap: 20px;
    padding: 30px;
}

.patient-info {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ai-panel {
    flex: 1;
    background: #f1f2f6;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.chat-box {
    background: white;
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.ai-panel input {
    padding: 8px;
    margin-bottom: 10px;
}

.ai-panel button {
    padding: 10px;
    background-color: #0a3d62;
    color: white;
    border: none;
    cursor: pointer;
}

.ai-panel button:hover {
    background-color: #1e5f8c;
}
