/* Reset & base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #fff;
}

/* Layout */
.container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

.sidebar {
    width: 250px;
    background: #1e293b;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8;
    margin-bottom: 40px;
}

.sidebar button,
.inbox-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    width: 100%;
}
.sidebar button:hover,
.inbox-btn:hover {
    background: #2563eb;
}

/* Menu */
.menu p {
    margin: 10px 0;
    opacity: 0.7;
}

/* Main content */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Email address box */
.email-box {
    background: #1e293b;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 18px;
    word-break: break-word;
    cursor: pointer;
    transition: background 0.3s;
}
.email-box:hover {
    background: #334155;
}

/* Message box */
.message {
    background: #334155;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
}

/* Inbox list page */
.mail-list {
    background: #1e293b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.mail-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #334155;
    border-radius: 6px;
}
.mail-item strong {
    color: #38bdf8;
}

/* Filter form */
.filter-form input[type="text"] {
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: #1e293b;
    color: #fff;
}
.filter-form input[type="submit"] {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}
.filter-form input[type="submit"]:hover {
    background: #2563eb;
}
