/* Base styles moved from templates/base.html to satisfy CSP without unsafe-inline */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f1f5f9;
    min-height: 100vh;
}
.main-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px auto;
    overflow: hidden;
}
.navbar-custom {
    background: #0f172a;
    border: none;
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white !important;
}
.sidebar {
    background: #f8f9fa;
    min-height: 500px;
    border-left: 1px solid #dee2e6;
}
.message-item {
    border-bottom: 1px solid #eee;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.message-item:hover { background-color: #f8f9fa; }
.message-item.unread { background-color: #e3f2fd; font-weight: bold; }
.btn-primary { background: #2563eb; border: none; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: #1d4ed8 !important; }
.alert { border-radius: 10px; }
.card { border: none; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.form-control { border-radius: 10px; }
.login-container { max-width: 400px; margin: 100px auto; }

/* Inbox page styles moved from templates/inbox.html */
.avatar-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.message-row { cursor: pointer; }
.message-row:hover { background-color: #f8f9fa !important; }

/* display sanitized HTML safely */
.message-content { white-space: normal; word-wrap: break-word; overflow-wrap: anywhere; }
.message-content img { max-width: 100%; height: auto; }