.email-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.sidebar {
    width: 200px;
    height: 100%;
    min-height: 450px;
    background: #eee;
    border-radius: 10px;
    margin-right: 20px;
}

.email-container {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
    position: relative;
}

.email-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    margin-right: 10px;
}

.title {
    font-size: 18px;
    font-weight: bold;
    color: #ccc;
}

.rect-field-sm {
    width: 30%;
    height: 40px;
    margin-bottom: 10px;
    background: #eee;
    border-radius: 5px;
}

.rect-field {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    background: #eee;
    border-radius: 5px;
}

.message-label {
    font-size: 14px;
    color: black;
    display: block;
    margin-bottom: 5px;
}

.email-container > div {
    position: relative;
}

.RadFloatingActionButton {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .email-wrapper {
        justify-content: center;
        padding: 15px;
    }

    .email-container {
        width: 100%;
        padding: 15px;
    }

    .rect-field-sm {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .email-container {
        padding: 10px;
    }

    .rect-field-sm {
        width: 100%;
    }
}
